freebsd-ports/shells/esh/files/patch-ab
Jacques Vidrine 5230c3cfb1 Master site disappeared. Use MASTER_SITE_LOCAL.
Noticed by:	fenner
2001-01-22 12:52:01 +00:00

19 lines
379 B
Plaintext

--- esh.c.orig Thu May 20 14:13:25 1999
+++ esh.c Thu May 20 14:22:34 1999
@@ -657,7 +656,9 @@
void job_wait(job_t* job) {
int tmp;
+ sig_t oldsig;
+ oldsig = signal(SIGCHLD, SIG_DFL);
if (interactive) {
waitpid(job->last_pid, &tmp, WUNTRACED);
@@ -676,6 +677,7 @@
} else {
waitpid(job->last_pid, &tmp, WUNTRACED);
}
+ signal(SIGCHLD, oldsig);
}