On 7/14/06, Ian Oversby <[EMAIL PROTECTED]> wrote:
As can be seen from the text below, chicken is using Unix-style forward
slashes to separate directories within filenames when it should be using
backslashes. This is causing errors when executing windows commands such as
copy. Changing CHICKEN_HOME to c:/chicken-new does not work either as copy
still fails with all forward slashes which is a surprise to me - I thought
Windows could use either forward or backward slashes for filenames.
A possibly stupid question: when using mingw32, one uses the normal
Windows shell, right? In that case the proper pathname directory
separator should be "\". Here is another patch that fixes a bug which
resulted in "/" separators on mingw32:
(library.scm)
2831,2834c2831
< (if (or (eq? 'msdos st)
< (and (eq? 'windows st)
< (let ([bp (build-platform)])
< (not (or (eq? 'cygwin bp) (eq? 'mingw32 bp))) ) ) )
---
(if (and (eq? 'windows st) (not (eq? (build-platform) 'cygwin)))
cheers,
felix
_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users