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

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

Re: win32 compilation of make 4.0 source code‏

2014-02-02 Thread Eli Zaretskii
From: Paul Smith psm...@gnu.org Cc: Mark Brown mkbrown_...@hotmail.com, 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, ...)

Re: Max env-var size on Win-XP

2014-02-02 Thread Eli Zaretskii
From: Gisle Vanem gva...@yahoo.no 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

Re: Max env-var size on Win-XP

2014-02-02 Thread Gisle Vanem
Eli Zaretskii e...@gnu.org 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

[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.,