[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] file-exists? on Windows
From: |
Kon Lovett |
Subject: |
Re: [Chicken-users] file-exists? on Windows |
Date: |
Mon, 14 May 2007 09:25:52 -0700 |
On May 11, 2007, at 12:18 PM, Mario Domenech Goulart wrote:
Hi folks,
Sorry for the maybe stupid question: is the following expression
supposed to return #f on Windows?
(file-exists? ".\\")
(file-exists? (current-directory)) returns the path to the current
directory.
Under Unix[-like] systems, (file-exists? "./") returns the path to the
current directory.
Version 2.614 - macosx-unix-gnu-ppc - [ libffi dload ptables
extraslot applyhook ]
(c)2000-2007 Felix L. Winkelmann
; loading ./.csirc ...
#;1> (file-exists? "./")
"./"
The implementation (##sys#expand-home-path in library.scm) only
expands a leading tilde, '~', or environment variable reference,
'$FOO'. There isn't any special recognition of the current directory
'directory'.
Shouldn't (file-exists? ".\\") return the path to the current
directory?
Not according to the documentation. But this can be changed.
Best wishes,
Mario
_______________________________________________
Chicken-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/chicken-users
- [Chicken-users] file-exists? on Windows, Mario Domenech Goulart, 2007/05/11
- Re: [Chicken-users] file-exists? on Windows,
Kon Lovett <=
- 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, 2007/05/14
- 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