aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-04 23:55:20 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-04 23:55:20 +0000
commit4bea7a2ee1e1eb5bdc5c02b483eddb3ec3f41d7d (patch)
treebb6f76ef612caff8816a3db3865dacb326eab176
parent2f638d5e5aba6f39a446143e66ed926406c0ae9d (diff)
downloadglibc-4bea7a2ee1e1eb5bdc5c02b483eddb3ec3f41d7d.tar
glibc-4bea7a2ee1e1eb5bdc5c02b483eddb3ec3f41d7d.tar.gz
glibc-4bea7a2ee1e1eb5bdc5c02b483eddb3ec3f41d7d.tar.bz2
glibc-4bea7a2ee1e1eb5bdc5c02b483eddb3ec3f41d7d.zip
Update.
1999-08-04 Ulrich Drepper <drepper@cygnus.com> * rt/aio_read.c: Fix return value. * rt/aio_read64.c: Likewise. Reported by Christian Gafton. * rt/aio_misc.c: Set errno at correct place.
-rw-r--r--ChangeLog8
-rw-r--r--rt/aio_misc.c4
2 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index b1bf74d026..bf89a451ec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+1999-08-04 Ulrich Drepper <drepper@cygnus.com>
+
+ * rt/aio_read.c: Fix return value.
+ * rt/aio_read64.c: Likewise.
+ Reported by Christian Gafton.
+
+ * rt/aio_misc.c: Set errno at correct place.
+
1999-08-04 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/alpha/getsysstats.c (GET_NPROCS_PARSER):
diff --git a/rt/aio_misc.c b/rt/aio_misc.c
index 742a8abaf1..ba0c9d47cf 100644
--- a/rt/aio_misc.c
+++ b/rt/aio_misc.c
@@ -1,5 +1,5 @@
/* Handle general operations.
- Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -260,8 +260,8 @@ __aio_enqueue_request (aiocb_union *aiocbp, int operation)
newp = get_elem ();
if (newp == NULL)
{
- __set_errno (EAGAIN);
pthread_mutex_unlock (&__aio_requests_mutex);
+ __set_errno (EAGAIN);
return NULL;
}
newp->aiocbp = aiocbp;