diff options
author | Chet Ramey <chet.ramey@case.edu> | 2011-12-07 09:28:26 -0500 |
---|---|---|
committer | Chet Ramey <chet.ramey@case.edu> | 2011-12-07 09:28:26 -0500 |
commit | 48ff544772dfa6b8fa3dda69361a5d64a9b0cbcd (patch) | |
tree | 6fdd9ddec685a88bd9d1bb4c9089f04134f2652e /jobs.c | |
parent | 40c8fbee93dca4d4d43a18d5fb3202fa2db2ae49 (diff) | |
download | bash-48ff544772dfa6b8fa3dda69361a5d64a9b0cbcd.tar.gz |
commit bash-20080904 snapshot
Diffstat (limited to 'jobs.c')
-rw-r--r-- | jobs.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -67,6 +67,7 @@ #include "bashintl.h" #include "shell.h" #include "jobs.h" +#include "execute_cmd.h" #include "flags.h" #include "builtins/builtext.h" @@ -843,6 +844,7 @@ cleanup_dead_jobs () static int processes_in_job (job) + int job; { int nproc; register PROCESS *p; @@ -1685,6 +1687,8 @@ make_child (command, async_p) making_children (); + forksleep = 1; + #if defined (BUFFERED_INPUT) /* If default_buffered_input is active, we are reading a script. If the command is asynchronous, we have already duplicated /dev/null |