2003-05-16  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/posix/sigpause.c (do_sigpause): Use sigdelset after all.
This commit is contained in:
Ulrich Drepper 2003-05-16 18:50:00 +00:00
parent 6e66dc78c4
commit 7ffac51fb8
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2003-05-16 Ulrich Drepper <drepper@redhat.com>
* sysdeps/posix/sigpause.c (do_sigpause): Use sigdelset after all.
2003-05-15 Jakub Jelinek <jakub@redhat.com>
* sysdeps/powerpc/powerpc32/dl-machine.c (_dl_reloc_overflow):

View File

@ -34,9 +34,7 @@ do_sigpause (int sig_or_mask, int is_sig)
{
/* The modern X/Open implementation is requested. */
if (__sigprocmask (0, NULL, &set) < 0
/* Perform the tests from sigdelset ourselves. */
|| sig_or_mask <= 0 || sig_or_mask >= NSIG
|| __sigdelset (&set, sig_or_mask) < 0)
|| sigdelset (&set, sig_or_mask) < 0)
return -1;
}
else if (sigset_set_old_mask (&set, sig_or_mask) < 0)