[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/5] [mingw]: Have compiled-file-name produce valid names.
From: |
Ludovic Courtès |
Subject: |
Re: [PATCH 2/5] [mingw]: Have compiled-file-name produce valid names. |
Date: |
Tue, 03 May 2011 00:18:55 +0200 |
User-agent: |
Gnus/5.110017 (No Gnus v0.17) Emacs/24.0.50 (gnu/linux) |
Hello!
Andy Wingo <address@hidden> writes:
> On Mon 02 May 2011 22:58, address@hidden (Ludovic Courtès) writes:
[...]
> The funny thing is that this doesn't matter at all. Well, I mean that
> it's valid to construct pathnames with / as the separator on Windows, as
> / and \ are equivalent there.
Oh, good.
> I still think that we need at least the ability to pass a bytevector as
> a path name, on GNU systems; and that if we can do so, then any routine
> that needs to deal with a path name would then need to deal in byte
> vectors in addition to strings, and at that point perhaps it is indeed
> useful to have a path library.
To accommodate various file name encodings, right? Then yes.
I think GLib and the like expect UTF-8 as the file name encoding and
complain otherwise, so UTF-8 might be a better default than locale
encoding (and it’s certainly wiser to be locale-independent.)
>> Vicinities in SLIB/SCM are similar, with ‘vicinity:suffix?’
>> abstracting over slash vs. backslash [2]. I’m not sure how they handle
>> MS-DOS volume names.
>
> I don't think that they do handle volume names; at least, from what I
> could see in the API description there.
So volumes matter in the file name canonicalization of the .go cache
right?
Couldn’t we mimic /cygdrive/c, etc.?
Thanks,
Ludo’.
- Re: [PATCH 2/5] [mingw]: Have compiled-file-name produce valid names., Andy Wingo, 2011/05/01
- Re: [PATCH 2/5] [mingw]: Have compiled-file-name produce valid names., Noah Lavine, 2011/05/01
- Re: [PATCH 2/5] [mingw]: Have compiled-file-name produce valid names., Mark H Weaver, 2011/05/01
- Re: [PATCH 2/5] [mingw]: Have compiled-file-name produce valid names., Ludovic Courtès, 2011/05/02
- Re: [PATCH 2/5] [mingw]: Have compiled-file-name produce valid names., Andy Wingo, 2011/05/02
- Re: [PATCH 2/5] [mingw]: Have compiled-file-name produce valid names.,
Ludovic Courtès <=
- Re: [PATCH 2/5] [mingw]: Have compiled-file-name produce valid names., Andy Wingo, 2011/05/03
- Re: [PATCH 2/5] [mingw]: Have compiled-file-name produce valid names., Ludovic Courtès, 2011/05/03
- Re: [PATCH 2/5] [mingw]: Have compiled-file-name produce valid names., Mark H Weaver, 2011/05/04
- Re: [PATCH 2/5] [mingw]: Have compiled-file-name produce valid names., Noah Lavine, 2011/05/04
- Re: [PATCH 2/5] [mingw]: Have compiled-file-name produce valid names., Ludovic Courtès, 2011/05/04
- Re: [PATCH 2/5] [mingw]: Have compiled-file-name produce valid names., Noah Lavine, 2011/05/17
- Re: [PATCH 2/5] [mingw]: Have compiled-file-name produce valid names., Mark H Weaver, 2011/05/17
- Re: [PATCH 2/5] [mingw]: Have compiled-file-name produce valid names., Mark H Weaver, 2011/05/17
- Filenames and other POSIX byte strings as SCM strings without loss, Mark H Weaver, 2011/05/23
- Paths as sequences of path components, Mark H Weaver, 2011/05/23