This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [COMMITTED PATCH] BZ#15361: Make aio_fsync not check open modes.
- From: Siddhesh Poyarekar <siddhesh dot poyarekar at gmail dot com>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>, Xavier Roche <roche+kml2 at exalead dot com>
- Date: Mon, 15 Apr 2013 18:13:08 +0530
- Subject: Re: [COMMITTED PATCH] BZ#15361: Make aio_fsync not check open modes.
- References: <513EEF07 dot 5090901 at 3ds dot com> <20130408212729 dot ED7592C085 at topped-with-meat dot com> <5163BA06 dot 30600 at exalead dot com> <20130411225058 dot 989CB2C07B at topped-with-meat dot com> <5167A305 dot 1010506 at exalead dot com> <20130412201133 dot C24782C07C at topped-with-meat dot com>
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