Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update.
	* signal/sigrelse.c (sigrelse): Use sigdelset and not __sigdelset.
	The signal number must be checked.
  • Loading branch information
Ulrich Drepper committed Apr 17, 2003
1 parent 89e28f6 commit 66cd688
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
@@ -1,5 +1,7 @@
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.
The signal number must be checked [PR libc/5004].

Expand Down
4 changes: 2 additions & 2 deletions 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.
Expand Down Expand Up @@ -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. */
Expand Down

0 comments on commit 66cd688

Please sign in to comment.