summaryrefslogtreecommitdiff
path: root/hurd/hurdsig.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-02-21 02:47:26 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-02-21 02:47:26 +0100
commit6f78f3b8057decfdb1fa36c82daef504d378199f (patch)
tree2e97c32302b25d93f009b3b102006c8dfffbad32 /hurd/hurdsig.c
parente19a2fad70b187e5efe79768f86a1f05cb5e0390 (diff)
Small signal fixes
22e7268 Hurd signals: fix sigwait for pending signals da8bf5e Hurd signals: clear the pending mask in fork and spawn 8e87205 Hurd signals: don't drop blocked ignored signals
Diffstat (limited to 'hurd/hurdsig.c')
-rw-r--r--hurd/hurdsig.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c
index 67037e8bbc..44e067c423 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;