[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
make-3.82.90-1-use-spawn-on-cygwin.diff
Description: Binary data
- [PATCH] Use spawn() in GNU Make on Cygwin, updated,
Pavel Fedin <=
- Re: [PATCH] Use spawn() in GNU Make on Cygwin, updated, Eli Zaretskii, 2013/08/05
- RE: [PATCH] Use spawn() in GNU Make on Cygwin, updated, Pavel Fedin, 2013/08/06
- Re: [PATCH] Use spawn() in GNU Make on Cygwin, updated, Eli Zaretskii, 2013/08/06
- RE: [PATCH] Use spawn() in GNU Make on Cygwin, updated, Pavel Fedin, 2013/08/07
- Re: [PATCH] Use spawn() in GNU Make on Cygwin, updated, Denis Excoffier, 2013/08/11
- Re: [PATCH] Use spawn() in GNU Make on Cygwin, updated, Pavel Fedin, 2013/08/11
- Re: [PATCH] Use spawn() in GNU Make on Cygwin, updated, Christopher Faylor, 2013/08/16
- Re: [PATCH] Use spawn() in GNU Make on Cygwin, updated, Pavel Fedin, 2013/08/16
- Re: [PATCH] Use spawn() in GNU Make on Cygwin, updated, Paul Smith, 2013/08/16
- Re: [PATCH] Use spawn() in GNU Make on Cygwin, updated, Christopher Faylor, 2013/08/16