NAMESTRING of tilde + directory that doesn't exist doesn't expand the tilde
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SBCL |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I was expecting that (namestring "~/nothinghere"), a tilde with a directory name that doesn't exist locally, would expand to "/home/
In CLisp and CCL, the tilde is expanded.
Same for PATHNAME.
This point is mentioned in https:/
---
SBCL 1.4.5.debian
Linux 5.0.0-31-generic #33~18.04.1-Ubuntu SMP Tue Oct 1 10:20:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
*features*
(:PLUMP-UTF-32 :CHUNGA :FLEXI-STREAMS CHIPZ-SYSTEM:
:FAST-IO :SBCL-USES-
:ESRAP.
:ESRAP.
:ESRAP.LOOKAHEAD :CL-FAD :CL-PPCRE :BORDEAUX-THREADS :THREAD-SUPPORT :SWANK
CFFI-FEATURES:
CFFI-SYS:
:SB-BSD-
:OS-UNIX :NON-BASE-
:ALIEN-CALLBACKS :ANSI-CL :ASH-RIGHT-VOPS :C-STACK-
:CALL-SYMBOL :COMMON-LISP :COMPACT-
:COMPLEX-
:FP-AND-
:IMMOBILE-SPACE :INLINE-CONSTANTS :INTEGER-EQL-VOP :LARGEFILE :LINKAGE-TABLE
:LINUX :LITTLE-ENDIAN :MEMORY-
:OS-PROVIDES-
:OS-PROVIDES-
:OS-PROVIDES-
:RAW-SIGNED-WORD :RELOCATABLE-HEAP :SB-AFTER-XC-CORE :SB-CORE-
:SB-DOC :SB-EVAL :SB-FUTEX :SB-LDB :SB-PACKAGE-LOCKS :SB-SIMD-PACK
:SB-SOURCE-
:STACK-
:STACK-
:STACK-
:UNDEFINED-
namestring doesn't expand any ~, existing or not.