[COMMITTED PATCH] BZ#15361: Make aio_fsync not check open modes.
Siddhesh Poyarekar
siddhesh.poyarekar@gmail.com
Mon Apr 15 14:09:00 GMT 2013
On 13 April 2013 01:41, Roland McGrath <roland@hack.frob.com> wrote:
> 2013-04-12 Roland McGrath <roland@hack.frob.com>
> Xavier Roche <roche+kml2@exalead.com>
>
> [BZ #15361]
> * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
> just that it's a file descriptor.
> * manual/llio.texi (Synchronizing AIO Operations): Update description
> for EBADF error from aio_fsync.
This change has resulted in a regression in the testsuite:
$ cat /home/siddhesh/src/upstream/glibc/build/64/rt/tst-aio7.out
aio_fsync( op, {RO..} ) did not return -1 or errno != EBADF
0 1 2 3 4 5 6 7
Siddhesh
--
http://siddhesh.in
More information about the Libc-alpha
mailing list