* hurd/hurdsig.c (_hurd_internal_post_signal): Ignore preempter

elts with null handlers.
This commit is contained in:
Roland McGrath 1995-02-22 23:11:54 +00:00
parent 50843ff068
commit 0677a80cdf
2 changed files with 4 additions and 1 deletions

View File

@ -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>

View File

@ -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;