[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Bug in canonical-path?
From: |
John Cowan |
Subject: |
Re: [Chicken-users] Bug in canonical-path? |
Date: |
Sun, 26 Oct 2008 22:18:19 -0400 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
Peter Bex scripsit:
> It would be better to make the behaviour be system-specific, instead of
> adding flags. On Windows, *always* treat slashes as backslashes. On Unix,
> *only* accept slashes with no additional translation steps. (I'm not sure
> Windows doesn't allow slashes in filenames, but I don't think it does)
Unix, of course, treats \ as an ordinary filename character. In Windows,
\ and / are interchangeable in system calls, although the command shell,
the desktop, and other file windows and dialogue boxes don't accept \
but only /. Inside Chicken, therefore, / is entirely portable and no
translation is ever necessary.
--
Ambassador Trentino: I've said enough. I'm a man of few words.
Rufus T. Firefly: I'm a man of one word: scram!
--Duck Soup John Cowan <address@hidden>
- Re: [Chicken-users] Bug in canonical-path?, (continued)
- Re: [Chicken-users] Bug in canonical-path?, Peter Bex, 2008/10/26
- Re: [Chicken-users] Bug in canonical-path?, Vincent Manis, 2008/10/26
- Re: [Chicken-users] Bug in canonical-path?, Ivan Raikov, 2008/10/29
- Re: [Chicken-users] Bug in canonical-path?, felix winkelmann, 2008/10/29
- Re: [Chicken-users] Bug in canonical-path?, Peter Bex, 2008/10/29
- Re: [Chicken-users] Bug in canonical-path?, felix winkelmann, 2008/10/29
- Re: [Chicken-users] Bug in canonical-path?, Elf, 2008/10/29
- Re: [Chicken-users] Bug in canonical-path?, Ivan Raikov, 2008/10/29
- Re: [Chicken-users] Bug in canonical-path?, felix winkelmann, 2008/10/30
- Re: [Chicken-users] Bug in canonical-path?, Alex Shinn, 2008/10/30
- Re: [Chicken-users] Bug in canonical-path?,
John Cowan <=
- Re: [Chicken-users] Bug in canonical-path?, Elf, 2008/10/28
- Re: [Chicken-users] Bug in canonical-path?, John Cowan, 2008/10/28
- Re: [Chicken-users] Bug in canonical-path?, Elf, 2008/10/28
- Re: [Chicken-users] Bug in canonical-path?, Elf, 2008/10/28