* [PATCH] One more tst-pselect fix
@ 2006-12-14 18:47 Jakub Jelinek
0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2006-12-14 18:47 UTC (permalink / raw)
To: Ulrich Drepper; +Cc: Glibc hackers
Hi!
The reason why tst-pselect fails even with pselect6 syscall seems
to be incorrect use of sigblock, sigblock's argument is an old style
signal mask, not the signal itself.
2006-12-14 Jakub Jelinek <jakub@redhat.com>
* misc/tst-pselect.c (do_test): Fix sigblock argument.
--- libc/misc/tst-pselect.c.jj 2006-12-14 19:24:23.000000000 +0100
+++ libc/misc/tst-pselect.c 2006-12-14 19:44:45.000000000 +0100
@@ -38,7 +38,7 @@ do_test (void)
return 1;
}
- if (sigblock (SIGUSR1) != 0)
+ if (sigblock (sigmask (SIGUSR1)) != 0)
{
puts ("sigblock failed");
return 1;
Jakub
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-12-14 18:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-12-14 18:47 [PATCH] One more tst-pselect fix Jakub Jelinek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).