[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: |
Mon, 02 May 2011 22:58:05 +0200 |
User-agent: |
Gnus/5.110017 (No Gnus v0.17) Emacs/24.0.50 (gnu/linux) |
Hi,
Andy Wingo <address@hidden> writes:
> Basically I think the plan should be to add scm_from_locale_path,
> scm_from_raw_path, etc to filesys.[ch], and change any
> pathname-accepting procedure in Guile to accept path objects, producing
> them from strings when given strings, and pass the bytevector
> representation to the raw o/s procedures like `open' et al.
Seems to like a disjoint type “just for Windows” would be overkill, no?
MIT/GNU Scheme has something this overkill [0].
Bigloo has just one variable, ‘file-separator’, which is either #\/ or
#\\ [1]. 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.
Thanks,
Ludo’.
[0]
http://www.gnu.org/software/mit-scheme/documentation/mit-scheme-ref/Pathnames.html
[1]
http://www-sop.inria.fr/mimosa/fp/Bigloo/doc/bigloo-7.html#System-Programming
[2] http://people.csail.mit.edu/jaffer/slib_2.html
- 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 <=
- 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, 2011/05/02
- 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