Slashes

Started by pjot, December 20, 2007, 02:08:34 AM

Previous topic - Next topic

pjot

Hi,



In the release notes of 9.2.10 I see the following:


Quote

On Win32 function 'directory?' now will accept training slahes '' or '/'

before it would always fails on trailing slashes


If I test it:


Quote
c:Scripts>newlisp

newLISP v.9.2.10 on Win32, execute 'newlisp -h' for more info.



> (directory? "c:\temp")

true

> (directory? "c:\temp\")

true

> (directory? "c:\")

nil

> (directory? "c:")



string token too long : "c:")rn"

> (directory? "c:\")

nil



>


So the 'root' directory of the C-drive is still not accepting the slash backward...? Any reason for this?



Also the documentation for (directory?) has not been adjusted (yet).



Peter

Lutz

#1
- directory? for drives is fixed in 9.2.11.



- docs will be updated for 'directory' is already updated for 'directory?'



Lutz