mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-27 15:30:07 +00:00
Update.
* signal/sigrelse.c (sigrelse): Use sigdelset and not __sigdelset. The signal number must be checked.
This commit is contained in:
parent
89e28f65b3
commit
66cd688c01
@ -1,5 +1,7 @@
|
|||||||
2003-04-17 Ulrich Drepper <drepper@redhat.com>
|
2003-04-17 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* signal/sigrelse.c (sigrelse): Use sigdelset and not __sigdelset.
|
||||||
|
The signal number must be checked.
|
||||||
* signal/sighold.c (sighold): Use sigaddset and not __sigaddset.
|
* signal/sighold.c (sighold): Use sigaddset and not __sigaddset.
|
||||||
The signal number must be checked [PR libc/5004].
|
The signal number must be checked [PR libc/5004].
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/* Remove SIG from the calling process' signal mask.
|
/* Remove SIG from the calling process' signal mask.
|
||||||
Copyright (C) 1998, 2000 Free Software Foundation, Inc.
|
Copyright (C) 1998, 2000, 2003 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
|
||||||
|
|
||||||
@ -33,7 +33,7 @@ sigrelse (sig)
|
|||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
/* Remove the specified signal. */
|
/* Remove the specified signal. */
|
||||||
if (__sigdelset (&set, sig) < 0)
|
if (sigdelset (&set, sig) < 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
/* Set the new mask. */
|
/* Set the new mask. */
|
||||||
|
Loading…
Reference in New Issue
Block a user