[Ecls-list] truename bug?
Gábor Balázs
gabalz at gmail.com
Sat Dec 31 01:51:59 UTC 2011
hY,
The truename function doesn't resolve some of the "." and ".." directories
along the path, so it doesn't provide a canonical path.
ecl -norc
ECL (Embeddable Common-Lisp) 11.1.1
(git:24debdf1617e374a13655dec832e56924b78a6bf)
(truename "..") ; => #P"/home/bege/../" ; not
ok<ecls-list at lists.sourceforge.net>
<ecls-list at lists.sourceforge.net>(truename "../bege/") ; =>
#P"/home/bege/../bege/" ; not ok
(truename ".") ; => #P"/home/bege/" ; ok
(truename "/./home/") ; => #P"/home/" ; ok
(truename "/./home/./bege/") ; => #P"/home/./bege/" ; not ok
I would prefer not to have any "." and ".." along a canonical path, just as
many other lisp work (sbcl, ccl, clisp, abcl).
Is there a way to get that?
Thanks,
`bg`
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20111230/98391764/attachment.html>
More information about the ecl-devel
mailing list