diff options
author | Paul Smith <psmith@gnu.org> | 1999-07-09 22:55:44 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 1999-07-09 22:55:44 +0000 |
commit | 8df9d5402017dbc6af67e9baa1c0baac5c59f4ff (patch) | |
tree | 20eb661a53f89abae673007470e9b1e5a569689e /job.c | |
parent | 9035aa27b7485bfdc12f8c577208a20a8b3747b6 (diff) | |
download | gunmake-8df9d5402017dbc6af67e9baa1c0baac5c59f4ff.tar.gz |
* Fixed error rebuilding makefiles with -j>1
* Fixed problem with job pipe and -j>1 when waiting on -l loads.
Diffstat (limited to 'job.c')
-rw-r--r-- | job.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1133,8 +1133,9 @@ start_waiting_job (c) { #ifdef MAKE_JOBSERVER /* If this is not a recurse command and we are controlling - multiple jobs, obtain a token before starting child. */ - if (job_fds[0] >= 0 && !f->cmds->any_recurse) + multiple jobs, and we don't yet have one, obtain a token before + starting child. */ + if (job_fds[0] >= 0 && !f->cmds->any_recurse && !c->job_token) { fd_set rfds; |