aboutsummaryrefslogtreecommitdiff
path: root/signal
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-04-17 18:12:31 +0000
committerUlrich Drepper <drepper@redhat.com>2003-04-17 18:12:31 +0000
commit89e28f65b38fff8531b6634ea1e77f27abb069ea (patch)
tree2afe16c27c06a6d088728a4ef5c528614203607d /signal
parentc9df3df9d2a1d7a87f8026b6279639bca0962b91 (diff)
downloadglibc-89e28f65b38fff8531b6634ea1e77f27abb069ea.zip
glibc-89e28f65b38fff8531b6634ea1e77f27abb069ea.tar.gz
glibc-89e28f65b38fff8531b6634ea1e77f27abb069ea.tar.bz2
Update.
* signal/sighold.c (sighold): Use sigaddset and not __sigaddset. The signal number must be checked [PR libc/5004].
Diffstat (limited to 'signal')
-rw-r--r--signal/sighold.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/signal/sighold.c b/signal/sighold.c
index 3221671..687b7fc 100644
--- a/signal/sighold.c
+++ b/signal/sighold.c
@@ -1,5 +1,5 @@
/* Add SIG to 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 @@ sighold (sig)
return -1;
/* Add the specified signal. */
- if (__sigaddset (&set, sig) < 0)
+ if (sigaddset (&set, sig) < 0)
return -1;
/* Set the new mask. */