From 94da86f7956af9d6855c12d79d757b961bf0c2a4 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Fri, 2 May 2003 10:25:27 +0000 Subject: 18492: Provide partial fix for multios and output process substitution asynchronicity problem. Document workarounds for remaining problems. --- Src/signals.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Src/signals.c') diff --git a/Src/signals.c b/Src/signals.c index 8b1b9775c..86a5de748 100644 --- a/Src/signals.c +++ b/Src/signals.c @@ -487,9 +487,12 @@ zhandler(int sig) } /* Find the process and job containing this pid and update it. */ - if (findproc(pid, &jn, &pn)) { + if (findproc(pid, &jn, &pn, 0)) { update_process(pn, status); update_job(jn); + } else if (findproc(pid, &jn, &pn, 1)) { + pn->status = status; + update_job(jn); } else { /* If not found, update the shell record of time spent by * children in sub processes anyway: otherwise, this -- cgit v1.2.3