aboutsummaryrefslogtreecommitdiff
path: root/signal/sigrelse.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-04-17 18:39:26 +0000
committerUlrich Drepper <drepper@redhat.com>2003-04-17 18:39:26 +0000
commit66cd688c01778d4f824de236c169e9cfb5c5f4e4 (patch)
tree211d76c2b746e2f237ff4009a13fab3337249c37 /signal/sigrelse.c
parent89e28f65b38fff8531b6634ea1e77f27abb069ea (diff)
downloadglibc-66cd688c01778d4f824de236c169e9cfb5c5f4e4.zip
glibc-66cd688c01778d4f824de236c169e9cfb5c5f4e4.tar.gz
glibc-66cd688c01778d4f824de236c169e9cfb5c5f4e4.tar.bz2
Update.
* signal/sigrelse.c (sigrelse): Use sigdelset and not __sigdelset. The signal number must be checked.
Diffstat (limited to 'signal/sigrelse.c')
-rw-r--r--signal/sigrelse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/signal/sigrelse.c b/signal/sigrelse.c
index 77d9061..ada7272 100644
--- a/signal/sigrelse.c
+++ b/signal/sigrelse.c
@@ -1,5 +1,5 @@
/* 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.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
@@ -33,7 +33,7 @@ sigrelse (sig)
return -1;
/* Remove the specified signal. */
- if (__sigdelset (&set, sig) < 0)
+ if (sigdelset (&set, sig) < 0)
return -1;
/* Set the new mask. */