Fri Jun 28 15:46:02 1996 Michael I. Bushnell, p/BSG <mib@gnu.ai.mit.edu>
authorroland <roland>
Mon, 1 Jul 1996 18:10:03 +0000 (18:10 +0000)
committerroland <roland>
Mon, 1 Jul 1996 18:10:03 +0000 (18:10 +0000)
* hurd/hurdsig.c (_hurd_internal_post_signal): In pending signal
check for signal zero, repair logical sense of test by
parenthesizing correctly.

hurd/hurdsig.c

index 5041ea0..a3ec24e 100644 (file)
@@ -929,9 +929,9 @@ _hurd_internal_post_signal (struct hurd_sigstate *ss,
            for (signo = 1; signo < NSIG; ++signo)
              if (__sigismember (&ss->pending, signo)
                  && (!__sigismember (&ss->blocked, signo)
-                 /* We "deliver" immediately pending blocked signals whose
-                     action might be to ignore, so that if ignored they are
-                     dropped right away.  */
+                     /* We "deliver" immediately pending blocked signals whose
+                        action might be to ignore, so that if ignored they are
+                        dropped right away.  */
                      || ss->actions[signo].sa_handler == SIG_IGN
                      || ss->actions[signo].sa_handler == SIG_DFL))
                {