newLISP Fan Club

Forum => newLISP and the O.S. => Topic started by: pjot on December 20, 2007, 02:08:34 AM

Title: Slashes
Post by: pjot on December 20, 2007, 02:08:34 AM
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
Title:
Post by: Lutz on December 20, 2007, 05:03:11 AM
- directory? for drives is fixed in 9.2.11.



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



Lutz