From e012d409f2decef77d21b4ee3ba3854c75869722 Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Sat, 22 Sep 2007 20:49:42 +0800 Subject: [SHELL] Restore foreground process group on exit On Thu, Jun 07, 2007 at 12:20:27PM +0200, Denis Vlasenko wrote: > > When I start dash under Midnight Commander and then type 'exit', dash > exits all right, but then MC is sent to background. It happens because > dash does not restore current process group on exit. > > Attached patch fixes this. It also fixes another bug: setjobctl(0) > must ignore tcsetpgrp errors, because there are cases when tty is > destroyed under dash. > > Patch is run-tested. I've fixed this slightly differently so that we don't need the xtcsetpgrp change. --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 6ce16c6..295fa66 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-09-21 Denis Vlasenko + + * Restore foreground process group on exit. + 2007-07-12 Herbert Xu * Release 0.5.4. -- cgit 1.4.1