Update.
authorUlrich Drepper <drepper@redhat.com>
Thu, 17 Apr 2003 18:12:31 +0000 (18:12 +0000)
committerUlrich Drepper <drepper@redhat.com>
Thu, 17 Apr 2003 18:12:31 +0000 (18:12 +0000)
* signal/sighold.c (sighold): Use sigaddset and not __sigaddset.
The signal number must be checked [PR libc/5004].

ChangeLog
signal/sighold.c

index dd1dcd0..b1f2086 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2003-04-17  Ulrich Drepper  <drepper@redhat.com>
 
+       * signal/sighold.c (sighold): Use sigaddset and not __sigaddset.
+       The signal number must be checked [PR libc/5004].
+
        * sysdeps/unix/sysv/linux/system.c: If compiled without threads
        don't do anything fancy.
 
index 3221671..687b7fc 100644 (file)
@@ -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.  */