This is the mail archive of the libc-hacker@sourceware.org mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
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
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |