summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>1999-09-23 18:23:33 +0000
committerPaul Smith <psmith@gnu.org>1999-09-23 18:23:33 +0000
commitdbb8f3e30bade196ab6c56b0918cbb7706cf49a6 (patch)
tree19484c45c39bd3206e9482ddd4f7169bf38c588f /main.c
parentc828aeaa985fde7010af946d4a6592bd51989d12 (diff)
downloadgunmake-dbb8f3e30bade196ab6c56b0918cbb7706cf49a6.tar.gz
* Ouch: found a bug where re-exec from changed makefiles turned off3.78.1
jobserver :(.
Diffstat (limited to 'main.c')
-rw-r--r--main.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/main.c b/main.c
index ec92f01..4065265 100644
--- a/main.c
+++ b/main.c
@@ -1700,12 +1700,7 @@ int main (int argc, char ** argv)
fflush (stdout);
fflush (stderr);
- /* Close the jobserver pipes if we opened any. */
- if (job_fds[0] >= 0)
- {
- close (job_fds[0]);
- close (job_fds[1]);
- }
+ /* Close the dup'd jobserver pipe if we opened one. */
if (job_rfd >= 0)
close (job_rfd);