At 12:42 PM 8/18/2006, Eli Zaretskii wrote:
>> Date: Fri, 18 Aug 2006 08:58:00 -0400
>> From: "William A. Hoffman" <[EMAIL PROTECTED]>
>> Cc: [email protected]
>> 
>> Just noticed:
>> 
>>  static char sh_chars_sh[]  = "#;\"*?[]&|<>(){}$`^";
>> 
>> Note the \"  This is in the #ifdef __MSDOS__ section which I assume
>> is on for mingw.
>
>No, MinGW picks up the "#elif defined (WINDOWS32)" section.
>
>> Why is " considered a shell character?
>
>Please note that it is considered a shell character on _all_ systems
>when a Unixy shell is invoked.  I believe the reason is that a Posix
>shell removes the quotes from the command line, and has other special
>processing inside a quoted argument.  So Make invokes the shell, to
>avoid knowing too much about this processing.
OK, but there seems to be some extra work that needs to be done in
CreateProcess to get the arguments correct.

-Bill



_______________________________________________
Make-w32 mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/make-w32

Reply via email to