chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH] Fix for Windows quoting issues (fixes #151


From: felix . winkelmann
Subject: Re: [Chicken-hackers] [PATCH] Fix for Windows quoting issues (fixes #1515)
Date: Sun, 02 Sep 2018 12:27:26 +0200

> I thought it wasn't necessary anymore, but on second thought that might
> have been a mistake: qs doesn't convert to slashes.  Having said that,
> it looks like slashify was used just as inconsistently as quotearg.
>
> If you follow the instructions in the README, you need to install with
> a PREFIX that uses slashes rather than backslashes; I did not experience
> any problems when I tested this code.

Yes, I know about the instructions in the README. This only affects what gets
stored in chicken-config.h. Slashification must take place for all paths that 
get
passed to the DOS shell and which are not arguments passed further on to invoked
programs (the Windows API accepts forward slashes, but cmd.exe, when using
pathnames that contain slashes will fail. So all paths _directly_ used by 
cmd.exe
(paths to programs and, I assume, paths given to builtin commands (mkdir, etc?))
must use backslashes.

I do not claim that the original code was totally consistent or fully correct, 
but don't
mess with these things in too lighthearted a manner, as it took ages to get C4 
csc +
chicken-install do the right thing.


felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]