commit 8e87205e2f8bd8ce8fca2eba75f7695394351f24 Author: Jeremie Koenig Date: Wed Jul 20 02:23:13 2011 +0000 Hurd signals: don't drop blocked ignored signals Although POSIX tolerates the current approach, it is more consistent to wait for ignored signals to be unblocked before we deliver them. * hurd/hurdsig.c (post_signal): Don't drop blocked ignored signals. diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c index 67037e8..44e067c 100644 --- a/hurd/hurdsig.c +++ b/hurd/hurdsig.c @@ -859,9 +859,7 @@ post_signal (struct hurd_sigstate *ss, } /* Handle receipt of a blocked signal, or any signal while stopped. */ - if (act != ignore && /* Signals ignored now are forgotten now. */ - __sigismember (&blocked, signo) || - (signo != SIGKILL && _hurd_stopped)) + if (__sigismember (&blocked, signo) || (signo != SIGKILL && _hurd_stopped)) { mark_pending (); act = ignore;