projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0994e2b
)
(tf_sigwait, tf_sigwaitinfo, tf_sigtimedwait): Add sigemptyset before sigaddset....
author
Jakub Jelinek
<jakub@redhat.com>
Fri, 29 Aug 2003 15:02:43 +0000
(15:02 +0000)
committer
Jakub Jelinek
<jakub@redhat.com>
Fri, 29 Aug 2003 15:02:43 +0000
(15:02 +0000)
nptl/tst-cancel4.c
patch
|
blob
|
history
diff --git
a/nptl/tst-cancel4.c
b/nptl/tst-cancel4.c
index
d6d9f69
..
8af6d42
100644
(file)
--- a/
nptl/tst-cancel4.c
+++ b/
nptl/tst-cancel4.c
@@
-776,6
+776,7
@@
tf_sigwait (void *arg)
/* Block SIGUSR1. */
sigset_t mask;
+ sigemptyset (&mask);
sigaddset (&mask, SIGUSR1);
if (pthread_sigmask (SIG_BLOCK, &mask, NULL) != 0)
{
@@
-819,6
+820,7
@@
tf_sigwaitinfo (void *arg)
/* Block SIGUSR1. */
sigset_t mask;
+ sigemptyset (&mask);
sigaddset (&mask, SIGUSR1);
if (pthread_sigmask (SIG_BLOCK, &mask, NULL) != 0)
{
@@
-863,6
+865,7
@@
tf_sigtimedwait (void *arg)
/* Block SIGUSR1. */
sigset_t mask;
+ sigemptyset (&mask);
sigaddset (&mask, SIGUSR1);
if (pthread_sigmask (SIG_BLOCK, &mask, NULL) != 0)
{