From: Ulrich Drepper Date: Mon, 23 Jun 2003 17:43:30 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2_3_3~551 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7b0a32a30505e02f2b138b1695096b0ddb2ab62d;p=thirdparty%2Fglibc.git Update. 2003-06-23 Ulrich Drepper * sysdeps/pthread/aio_suspend.c (aio_suspend): Set errno to EINTR if this is what pthread_cond_wait returned. --- diff --git a/ChangeLog b/ChangeLog index 404169f1df1..69dce621b70 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-06-23 Ulrich Drepper + + * sysdeps/pthread/aio_suspend.c (aio_suspend): Set errno to EINTR + if this is what pthread_cond_wait returned. + 2003-06-20 Richard Henderson * sysdeps/unix/make-syscalls.sh: Implement ! prefix for strong aliases. diff --git a/sysdeps/pthread/aio_suspend.c b/sysdeps/pthread/aio_suspend.c index 1b09aef0280..92cac810366 100644 --- a/sysdeps/pthread/aio_suspend.c +++ b/sysdeps/pthread/aio_suspend.c @@ -199,6 +199,8 @@ aio_suspend (list, nent, timeout) form expected from `aio_suspend'. */ if (result == ETIMEDOUT) __set_errno (EAGAIN); + else if (result == EINTR) + __set_errno (EINTR); result = -1; }