* [PATCH] Fix misc/pselect.c for tst-cancel-wrappers
@ 2006-01-19 14:56 Jakub Jelinek
0 siblings, 0 replies; only message in thread
From: Jakub Jelinek @ 2006-01-19 14:56 UTC (permalink / raw)
To: Ulrich Drepper, Roland McGrath; +Cc: Glibc hackers
Hi!
We also need to tell tst-cancel-wrappers that pselect.c handles
cancellation indirectly through __select cancellation.
2006-01-19 Jakub Jelinek <jakub@redhat.com>
* misc/pselect.c: Include sysdep-cancel.h again. Add
LIBC_CANCEL_HANDLED ().
--- libc/misc/pselect.c.jj 2006-01-19 09:45:10.000000000 +0100
+++ libc/misc/pselect.c 2006-01-19 14:18:50.000000000 +0100
@@ -22,6 +22,7 @@
#include <stddef.h> /* For NULL. */
#include <sys/time.h>
#include <sys/select.h>
+#include <sysdep-cancel.h>
/* Check the first NFDS descriptors each in READFDS (if not NULL) for read
@@ -63,3 +64,5 @@ __pselect (int nfds, fd_set *readfds, fd
}
weak_alias (__pselect, pselect)
strong_alias (__pselect, __libc_pselect)
+/* __select handles cancellation. */
+LIBC_CANCEL_HANDLED ();
Jakub
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-01-19 14:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-19 14:56 [PATCH] Fix misc/pselect.c for tst-cancel-wrappers 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).