This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/15361] New: aio_fsync() should not check file descriptor for "open for writing" mode and return EBADF
- From: "roche+kml2 at exalead dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 12 Apr 2013 05:22:47 +0000
- Subject: [Bug libc/15361] New: aio_fsync() should not check file descriptor for "open for writing" mode and return EBADF
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=15361
Bug #: 15361
Summary: aio_fsync() should not check file descriptor for "open
for writing" mode and return EBADF
Product: glibc
Version: 2.17
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: unassigned@sourceware.org
ReportedBy: roche+kml2@exalead.com
CC: drepper.fsp@gmail.com
Classification: Unclassified
As suggested by Roland McGrath, I'm opening a request regarding the aio_fsync()
function returning EBADF when using a file descriptor not "open for writing".
This is actually a minor inconsistency fixed POSIX:
<http://austingroupbugs.net/view.php?id=671>
The suggested change is not to check anymore the file descriptor flags.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.