USER-HOMEDIR-PATHNAME on W10

Bug #1884118 reported by marcoxa on 2020-06-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
Undecided
Unassigned

Bug Description

Hi

USER-HOMEDIR-PATHNAME on W10 returns C:/Users/Luser/AppData/Roaming (modulo the "C:" device).

AFAIU the AppData/Roaming subfolder is for "user related application data". It is not the "HOME" directory from *nix.

Moreover:

C:> echo %HOMEPATH%
C:\Users\Luser

C:> echo %USERPROFILE%
C:\Users\Luser

and

PS C:\Users\Luser> $Env:UserName
Luser

PS C:\Users\Luser> $Env:UserProfile
C:\Users\Luser

PS C:\Users\Luser> $Env:HomePath
\Users\Luser

Lispworks, ACL, ABCL and CCL on W10 all return the "obvious" home folder under W10 (I have not checked other implementations). By doing things differently, SBCL messes up a Luser's environment for other things (e.g., quicklisp).

I move that SBCL conforms with other implementations on W10 in this regard.

All the best

Marco

Stas Boukarev (stassats) wrote :

Can't reproduce.

Changed in sbcl:
status: New → Incomplete
marcoxa (marcoxa) wrote :

Ok.

This is for 1.4.14. I had to connect to an AMD machine to try 2.0.

Sorry for the noise.

Stas Boukarev (stassats) on 2020-06-18
Changed in sbcl:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers