mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-11-11 08:54:01 +01:00
wait -n' notifies on a job it returns; in posix mode, wait' defers notification on a reaped pid unless the shell is interactive, as posix now specifies
This commit is contained in:
1 parent
5576c26da8
commit
bc5ddc8698
17 files changed
+988
-783
No files matched your search
@@ -2493,7 +2493,7 @@ shell_getc (int remove_quoted_newline)
|
||||
of a trap, when the trap is called from flush_child. This call
|
||||
had better not cause jobs to disappear from the job table in
|
||||
that case, or we will have big trouble. */
|
||||
notify_and_cleanup ();
|
||||
notify_and_cleanup (-1);
|
||||
#else /* !JOB_CONTROL */
|
||||
cleanup_dead_jobs ();
|
||||
#endif /* !JOB_CONTROL */
|
||||
|
||||
Reference in new issue
Block a user