Re: Max env-var size on Win-XP

2014-02-06 Thread Eli Zaretskii
> From: "Gisle Vanem" > Date: Thu, 6 Feb 2014 14:30:41 +0100 > > "Eli Zaretskii" wrote: > > > Wouldn't it be better to display the error only if CreateProcess fails > > with e=87 _and_ the environment is larger than 32KB? That would allow > > us to avoid calling GetVersionEx, which MS wants to

Re: Max env-var size on Win-XP

2014-02-06 Thread Gisle Vanem
"Eli Zaretskii" wrote: Wouldn't it be better to display the error only if CreateProcess fails with e=87 _and_ the environment is larger than 32KB? That would allow us to avoid calling GetVersionEx, which MS wants to deprecate (see http://msdn.microsoft.com/en-us/library/windows/desktop/ms72445

Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time

2014-02-06 Thread Eli Zaretskii
> Date: Thu, 6 Feb 2014 18:54:33 +0900 > From: Mike Hommey > Cc: psm...@gnu.org, bug-make@gnu.org, bo...@kolpackov.net > > The point is, batch shell mode only flag is advertized in config.h as > being the workaround for the broken sh -c. I'd like that workaround to > be available at runtime inste

Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time

2014-02-06 Thread Mike Hommey
On Thu, Feb 06, 2014 at 10:45:39AM +0200, Eli Zaretskii wrote: > > Date: Thu, 6 Feb 2014 16:01:06 +0900 > > From: Mike Hommey > > Cc: psm...@gnu.org, bug-make@gnu.org, bo...@kolpackov.net > > > > I gave multiple examples already. It doesn't require backslashes to be a > > problem. Here's another

Re: [bug #41246] Allow to switch shell batch mode at runtime instead of build time

2014-02-06 Thread Eli Zaretskii
> Date: Thu, 6 Feb 2014 16:01:06 +0900 > From: Mike Hommey > Cc: psm...@gnu.org, bug-make@gnu.org, bo...@kolpackov.net > > I gave multiple examples already. It doesn't require backslashes to be a > problem. Here's another one: > > $ cat default: > c:/path/to/python.exe -c 'impo