aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-06-23 17:43:30 +0000
committerUlrich Drepper <drepper@redhat.com>2003-06-23 17:43:30 +0000
commit7b0a32a30505e02f2b138b1695096b0ddb2ab62d (patch)
tree26b9e46cd0258a50e37ba31896765f2c034ff6a0 /sysdeps
parent3a4f2043a1b1cce35edf588681433720bf2c2374 (diff)
downloadglibc-7b0a32a30505e02f2b138b1695096b0ddb2ab62d.zip
glibc-7b0a32a30505e02f2b138b1695096b0ddb2ab62d.tar.gz
glibc-7b0a32a30505e02f2b138b1695096b0ddb2ab62d.tar.bz2
Update.
2003-06-23 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/aio_suspend.c (aio_suspend): Set errno to EINTR if this is what pthread_cond_wait returned.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/pthread/aio_suspend.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/pthread/aio_suspend.c b/sysdeps/pthread/aio_suspend.c
index 1b09aef..92cac81 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;
}