aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-02-22 23:11:54 +0000
committerRoland McGrath <roland@gnu.org>1995-02-22 23:11:54 +0000
commit0677a80cdf98418cfe641d27cfc492d7459c5b45 (patch)
tree3901486a25d40440ec9b22ecbd4f6c32c4e2f9f2
parent50843ff068aae5b1ff58581eddd3bd107e99114b (diff)
downloadglibc-0677a80cdf98418cfe641d27cfc492d7459c5b45.tar
glibc-0677a80cdf98418cfe641d27cfc492d7459c5b45.tar.gz
glibc-0677a80cdf98418cfe641d27cfc492d7459c5b45.tar.bz2
glibc-0677a80cdf98418cfe641d27cfc492d7459c5b45.zip
* hurd/hurdsig.c (_hurd_internal_post_signal): Ignore preempter
elts with null handlers.
-rw-r--r--ChangeLog3
-rw-r--r--hurd/hurdsig.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 903f7e970f..fb32cec428 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
Wed Feb 22 00:44:41 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
+ * hurd/hurdsig.c (_hurd_internal_post_signal): Ignore preempter
+ elts with null handlers.
+
* sysdeps/mach/hurd/i386/sigreturn.c: Restore the FPU state.
Tue Feb 21 21:53:30 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c
index 2c6f6a17d2..d93d4c2a8d 100644
--- a/hurd/hurdsig.c
+++ b/hurd/hurdsig.c
@@ -472,7 +472,7 @@ _hurd_internal_post_signal (struct hurd_sigstate *ss,
can arrive during critical sections. */
__mutex_lock (&_hurd_signal_preempt_lock);
for (pe = _hurd_signal_preempt[signo]; pe != NULL; pe = pe->next)
- if (sigcode >= pe->first && sigcode <= pe->last)
+ if (pe->handler && sigcode >= pe->first && sigcode <= pe->last)
{
preempt = pe->handler;
break;