Imported from ../bash-4.0.tar.gz.
This commit is contained in:
parent
3185942a52
commit
17345e5ad2
134 changed files with 74214 additions and 4584 deletions
7
jobs.c
7
jobs.c
|
@ -840,6 +840,11 @@ cleanup_dead_jobs ()
|
|||
if (jobs[i] && DEADJOB (i) && IS_NOTIFIED (i))
|
||||
delete_job (i, 0);
|
||||
}
|
||||
|
||||
#if defined (COPROCESS_SUPPORT)
|
||||
coproc_reap ();
|
||||
#endif
|
||||
|
||||
UNQUEUE_SIGCHLD(os);
|
||||
}
|
||||
|
||||
|
@ -3081,7 +3086,7 @@ waitchld (wpid, block)
|
|||
child = find_process (pid, 1, &job); /* want living procs only */
|
||||
|
||||
#if defined (COPROCESS_SUPPORT)
|
||||
coproc_pidchk (pid);
|
||||
coproc_pidchk (pid, status);
|
||||
#endif
|
||||
|
||||
/* It is not an error to have a child terminate that we did
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue