diff --git a/ChangeLog b/ChangeLog index 8eb7551da5..55b67b4703 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2006-01-19 Jakub Jelinek * misc/pselect.c (__pselect): Remove static. + Include sysdep-cancel.h again. Add LIBC_CANCEL_HANDLED (). 2006-01-18 Roland McGrath diff --git a/misc/pselect.c b/misc/pselect.c index 42d1c48f13..1d841a8cf4 100644 --- a/misc/pselect.c +++ b/misc/pselect.c @@ -22,6 +22,7 @@ #include /* For NULL. */ #include #include +#include /* Check the first NFDS descriptors each in READFDS (if not NULL) for read @@ -63,3 +64,5 @@ __pselect (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, } weak_alias (__pselect, pselect) strong_alias (__pselect, __libc_pselect) +/* __select handles cancellation. */ +LIBC_CANCEL_HANDLED ();