Mercurial > hg > xemacs-beta
diff src/process-unix.c @ 316:512e409c26a2 r21-0b56
Import from CVS: tag r21-0b56
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:44:46 +0200 |
parents | 70ad99077275 |
children | 19dcec799385 |
line wrap: on
line diff
--- a/src/process-unix.c Mon Aug 13 10:44:26 2007 +0200 +++ b/src/process-unix.c Mon Aug 13 10:44:46 2007 +0200 @@ -920,12 +920,14 @@ EMACS_SET_TTY_PROCESS_GROUP (xforkin, &piddly); } -# ifdef AIX /* On AIX, we've disabled SIGHUP above once we start a child on a pty. Now reenable it in the child, so it - will die when we want it to. */ + will die when we want it to. + JV: This needs to be done ALWAYS as we might have inherited + a SIG_IGN handling from our parent (nohup) and we are in new + process group. + */ signal (SIGHUP, SIG_DFL); -# endif /* AIX */ } #endif /* HAVE_PTYS */