1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 13:33:52 +01:00

20632: incorrect propagation of signals to process group

This commit is contained in:
Peter Stephenson 2005-01-05 11:04:21 +00:00
parent 35b31bdb62
commit 849b808da6
2 changed files with 7 additions and 1 deletions

@ -1,3 +1,8 @@
2005-01-05 Peter Stephenson <pws@csr.com>
* 20632: propagating signals incorrectly to current process
group could kill shell.
2004-12-27 Clint Adams <clint@zsh.org>
* 20639: Completion/Unix/Command/_bogofilter:

@ -1233,7 +1233,8 @@ execpline(Estate state, wordcode slcode, int how, int last1)
(!(jn->stat & STAT_INUSE) || (jn->stat & STAT_DONE))) {
deletejob(jn);
jn = jobtab + pj;
killjb(jn, lastval & ~0200);
if (jn->gleader)
killjb(jn, lastval & ~0200);
}
if (list_pipe_child ||
((jn->stat & STAT_DONE) &&