[bug #41417] \* in a prerequisite matches \* as well as *

2014-01-31 Thread anonymous
URL: Summary: \* in a prerequisite matches \* as well as * Project: make Submitted by: None Submitted on: Sat 01 Feb 2014 05:35:19 AM UTC Severity: 3 - Normal Item Group:

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

2014-01-31 Thread grischka
Paul Smith wrote: My question, or _challenge_ if you like, is whether we can find a way to know, without any hints from the user, whether a given command line will work properly for /bin/sh -c in Windows, or if it needs to use a batch file. And the answer is: Always (would it work properly wit

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

2014-01-31 Thread Paul Smith
On Fri, 2014-01-31 at 16:55 +0200, Eli Zaretskii wrote: > > An option as command line argument, or as a special target as the > > original patch did? > > The former, as Paul objected to the latter. I didn't object, per se. I just prefer my tools to DTRT in all cases without me having to use any

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

2014-01-31 Thread Mike Hommey
On Fri, Jan 31, 2014 at 11:37:47AM +0200, Eli Zaretskii wrote: > > Date: Fri, 31 Jan 2014 09:14:32 + > > From: Mike Hommey > > > > This is a different approach to the problem, as suggested by Paul: this > > triggers batch mode shell when there are double quotes in the recipe. > > This cannot

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

2014-01-31 Thread Eli Zaretskii
> Date: Fri, 31 Jan 2014 22:15:56 +0900 > From: Mike Hommey > Cc: psm...@gnu.org, mh+savan...@glandium.org, bo...@kolpackov.net, > bug-make@gnu.org > > On Fri, Jan 31, 2014 at 11:37:47AM +0200, Eli Zaretskii wrote: > > > Date: Fri, 31 Jan 2014 09:14:32 + > > > From: Mike Hommey > > >

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

2014-01-31 Thread Ray Donnelly
Follow-up Comment #11, bug #41246 (project make): Hi Mike, Sorry to hijack this thread a little. I work on the MSYS2 project and I'd be keen to fix "sh.exe -c" to behave correctly. If you are interested in this, could you please email me at mingw.andr...@gmail.com with a testcase? FWIW I agree

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

2014-01-31 Thread Eli Zaretskii
> Date: Fri, 31 Jan 2014 09:14:32 + > From: Mike Hommey > > This is a different approach to the problem, as suggested by Paul: this > triggers batch mode shell when there are double quotes in the recipe. This cannot be automatic, as we have deliberately made the double quotes not special for

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

2014-01-31 Thread Mike Hommey
Follow-up Comment #10, bug #41246 (project make): This is a different approach to the problem, as suggested by Paul: this triggers batch mode shell when there are double quotes in the recipe. Note this doesn't quite work around all the problems that the previous patch did solve when adding .BATCH_