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@lists.sourceforge.net>
 <ecls-list@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`
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to