[bug #41273] wildcard function does not return newly created file

2014-02-02 Thread Paul D. Smith
Follow-up Comment #1, bug #41273 (project make): This is a function make's internal directory caching mechanism. The wildcard function looks through the internal cache (where it exists) not the local filesystem, which means that if there are rules that create files make doesn't know about (e.g.,

Re: [PATCH] Refactor and merge child_execute_job() code

2014-02-02 Thread Paul Smith
On Fri, 2014-01-31 at 10:32 +0400, Pavel Fedin wrote: > Ok, i actually can leave it as a macro. I prefer the macro form as well; please keep it that way. Also, I'm not sure I like the current child_execute_job() where there are two completely different implementations in the same function, handle

Re: Re: win32 compilation of make 4.0 source code‏

2014-02-02 Thread Paul Smith
On Tue, 2014-01-14 at 18:02 +0200, Eli Zaretskii wrote: > > === > > process_begin: CreateProcess(NULL, uname, ...) failed. > > make: > > process_begin: CreateProcess(NULL, uname -a, ...) failed. > > make: > > process_begin: CreateProcess(NULL, cygpath

Re: Max env-var size on Win-XP

2014-02-02 Thread Eli Zaretskii
> From: "Gisle Vanem" > Date: Sun, 2 Feb 2014 18:34:49 +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-02 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: Max env-var size on Win-XP

2014-02-02 Thread Eli Zaretskii
> From: "Gisle Vanem" > Date: Sun, 2 Feb 2014 15:06:23 +0100 > > According to: > > http://msdn.microsoft.com/en-us/library/windows/desktop/ms682653(v=vs.85).aspx > > the total size of the environment is 32kByte. This has hit me several > times in GNU-make when CreateProcess() triggers the mys

Re: win32 compilation of make 4.0 source code‏

2014-02-02 Thread Eli Zaretskii
> From: Paul Smith > Cc: Mark Brown , bug-make@gnu.org > Date: Sun, 02 Feb 2014 10:28:01 -0500 > > On Tue, 2014-01-14 at 18:02 +0200, Eli Zaretskii wrote: > > > === > > > process_begin: CreateProcess(NULL, uname, ...) failed. > > > make: > > > proce

Re: [PATCH] output.c: Fix memory stomp when need==fmtbuf.size

2014-02-02 Thread Paul Smith
On Sun, 2014-01-26 at 16:35 +, Ray Donnelly wrote: > I missed a few assert cases in the previous patch. Please find a fixed > version attached. I applied this change. Thanks! ___ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman

Max env-var size on Win-XP

2014-02-02 Thread Gisle Vanem
According to: http://msdn.microsoft.com/en-us/library/windows/desktop/ms682653(v=vs.85).aspx the total size of the environment is 32kByte. This has hit me several times in GNU-make when CreateProcess() triggers the mysterious error 87 (ERROR_INVALID_PARAMETER). Like in a very simple rule that in