Date: Fri, 6 Feb 1998 10:14:27 -0800 (PST) From: Martin Cracauer <cracauer@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG Subject: cvs commit: src/bin/sh jobs.c Message-ID: <199802061814.KAA18305@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
cracauer 1998/02/06 10:14:27 PST
Modified files:
bin/sh jobs.c
Log:
Fix handling of SIGINT/SIGQUIT for foreground subprocesses. Most
urgent need is when you run sh around a program that intentionally
uses SIGQUIT/SIGINT for asynchronous events, i.e. $EDITOR started from
system(2), like many mailers do. This fixes PR bin/1206 and possibly
bin/4241.
The solution committed has been tested for a large number of possible
cases (see recent discussion on cvs-committers). I completed a make
world, made sure 'make world' is interruptable and used the changed
/bin/sh as a login shell all day, including job control and using
SIGQUIT-catching programs (to write this message :-).
PR: bin/1206
Reviewed by: discussion on cvs-commiters
Revision Changes Path
1.18 +17 -1 src/bin/sh/jobs.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802061814.KAA18305>
