Hi all,
(directory? C:) - #f
(directory? C:/) - #f
(directory? C://) - #t
(pathname-directory C:) - #f
(pathname-directory C:/) - C:
(pathname-directory C://) - C:
Huh?
Regards,
Michele
___
Chicken-users mailing list
Hi (again),
1) Is this supposed to be the correct output?
(normalize-pathname /) - /.
2) I think it would be a good idea to strip any trailing slash, otherwise:
(string=? (normalize-pathname /tmp/) (normalize-pathname /tmp)) - #f
Regards,
Michele
Hi Michele,
On Wed, 20 Aug 2014 16:04:38 +0200 Michele La Monaca
mikele.chic...@lamonaca.net wrote:
1) Is this supposed to be the correct output?
(normalize-pathname /) - /.
I also run into this issue. That case is specially handled in
normalize-pathname. I contacted Felix and he said
Am 20.08.2014 16:04, schrieb Michele La Monaca:
Hi (again),
1) Is this supposed to be the correct output?
(normalize-pathname /) - /.
2) I think it would be a good idea to strip any trailing slash, otherwise:
(string=? (normalize-pathname /tmp/) (normalize-pathname /tmp)) - #f
What would
Hi,
On Wed, 20 Aug 2014 19:42:27 +0200 Jörg F. Wittenberger
joerg.wittenber...@softeyes.net wrote:
Am 20.08.2014 16:04, schrieb Michele La Monaca:
2) I think it would be a good idea to strip any trailing slash, otherwise:
(string=? (normalize-pathname /tmp/) (normalize-pathname /tmp)) - #f