And links having relative paths seem to be problematic too.

TEST
 |- dir
 |- link-dir -> ../TEST/dir/

ecl -norc
ECL (Embeddable Common-Lisp) 11.1.1
(git:15d1c6dfdf74b171bc79477d1d0105cde8297219)

(truename "link-dir") ; => #P"/home/bege/TEST/../TEST/dir/"

Best,
`bg`


2011/12/30 Gábor Balázs <gab...@gmail.com>

>
> It seems it still doesn't handle directory names in file form.
>
> ecl -norc
> ECL (Embeddable Common-Lisp) 11.1.1
> (git:15d1c6dfdf74b171bc79477d1d0105cde8297219)
>
> (truename "..")  ; => #P"/home/bege/../" ; bad
> (truename "../") ; => #P"/home/bege/"    ; ok
>
> Maybe this would be good to have too...
>
> `bg`
>
>
>
> 2011/12/30 Juan Jose Garcia-Ripoll <juanjose.garciarip...@googlemail.com>
>
>> 2011/12/31 Gábor Balázs <gab...@gmail.com>
>>
>>> The truename function doesn't resolve some of the "." and ".."
>>> directories along the path, so it doesn't provide a canonical path.
>>
>>
>> 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.
>>
>> 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)
>> http://juanjose.garciaripoll.googlepages.com
>>
>
>
------------------------------------------------------------------------------
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