From: Ulrich Drepper Date: Thu, 17 Apr 2003 18:39:26 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2_3_3~864 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66cd688c01778d4f824de236c169e9cfb5c5f4e4;p=thirdparty%2Fglibc.git Update. * signal/sigrelse.c (sigrelse): Use sigdelset and not __sigdelset. The signal number must be checked. --- diff --git a/ChangeLog b/ChangeLog index b1f208641b5..780dd9f3fce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2003-04-17 Ulrich Drepper + * signal/sigrelse.c (sigrelse): Use sigdelset and not __sigdelset. + The signal number must be checked. * signal/sighold.c (sighold): Use sigaddset and not __sigaddset. The signal number must be checked [PR libc/5004]. diff --git a/signal/sigrelse.c b/signal/sigrelse.c index 77d90612241..ada72727c02 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 , 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. */