[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] file-exists? on Windows
From: |
John Cowan |
Subject: |
Re: [Chicken-users] file-exists? on Windows |
Date: |
Mon, 14 May 2007 14:28:38 -0400 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Mario Domenech Goulart scripsit:
> Isn't (file-exists? ".\\") supposed to return ".\\" on windows?
Ah. No. The Win32 kernel does *not* ignore trailing backslashes the
way the Unix kernel ignores trailing slashes -- instead, it returns
file-not-found errors.
Note also that the root directory of a Win32 volume does not contain
"." or ".." files (Cygwin fakes them), so it is not even fully reliable
to ask if "." exists.
--
By Elbereth and Luthien the Fair, you shall address@hidden
have neither the Ring nor me! --Frodo http://www.ccil.org/~cowan
- [Chicken-users] file-exists? on Windows, Mario Domenech Goulart, 2007/05/11
- Re: [Chicken-users] file-exists? on Windows, Kon Lovett, 2007/05/14
- Re: [Chicken-users] file-exists? on Windows, Mario Domenech Goulart, 2007/05/14
- Re: [Chicken-users] file-exists? on Windows, Kon Lovett, 2007/05/14
- Re: [Chicken-users] file-exists? on Windows,
John Cowan <=
- Re: [Chicken-users] file-exists? on Windows, Kon Lovett, 2007/05/14
- Re: [Chicken-users] file-exists? on Windows, Graham Fawcett, 2007/05/14
- Re: [Chicken-users] file-exists? on Windows, Mario Domenech Goulart, 2007/05/14
- Re: [Chicken-users] file-exists? on Windows, Graham Fawcett, 2007/05/14
- [Chicken-users] Chicken Testing (Was: file-exists? on Windows), Kon Lovett, 2007/05/14
- Re: [Chicken-users] Chicken Testing (Was: file-exists? on Windows), felix winkelmann, 2007/05/15
- Re: [Chicken-users] Chicken Testing (Was: file-exists? on Windows), Kon Lovett, 2007/05/15
- Re: [Chicken-users] file-exists? on Windows, John Cowan, 2007/05/14
- Re: [Chicken-users] file-exists? on Windows, Alex Queiroz, 2007/05/14
- Re: [Chicken-users] file-exists? on Windows, Kon Lovett, 2007/05/14