And links having relative paths seem to be problematic too.
It seems it still doesn't handle directory names in file form.
ecl -norcECL (Embeddable Common-Lisp) 11.1.1 (git:15d1c6dfdf74b171bc79477d1d0105cde8297219)Maybe this would be good to have too...
(truename "..") ; => #P"/home/bege/../" ; bad
(truename "../") ; => #P"/home/bege/" ; ok
`bg`2011/12/30 Juan Jose Garcia-Ripoll <firstname.lastname@example.org>
They were actually two unrelated bugs. One was that "." is normally removed by ECL from pathnames at construction time. This was broken. The other one was that the lines that remove ".." in TRUENAME were not doing their job because of a typo.2011/12/31 Gábor Balázs <email@example.com>
The truename function doesn't resolve some of the "." and ".." directories along the path, so it doesn't provide a canonical path.I have uploaded fixes for both things, together with the other 45 commits which are still being uploaded (some problems earlier tonight)Juanjo--
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)