[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Use spawn() in GNU Make on Cygwin, updated

From: Pavel Fedin
Subject: [PATCH] Use spawn() in GNU Make on Cygwin, updated
Date: Mon, 5 Aug 2013 21:34:31 +0400

 Hello! I have found and fixed the problem. It appeared to be PATH issue.

 fork()-based code temporary sets 'environ' variable to child's environment, 
which appears to contain current directory. EMX code didn't do that.
 The problem gets triggered only if you try to call something which is not in 
your system PATH. Cygwin's spawnvpe() screws up badly in such situation.
 The new patch is attached. I have tested building Cygwin source, works fine.
 Please test. If OK, i can retry pushing it upstream.

Kind regards, Pavel Fedin

Attachment: make-3.82.90-1-use-spawn-on-cygwin.diff
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]