[Bug libc/10992] New: futimens should reject AT_FDCWD
ebb9 at byu dot net
sourceware-bugzilla@sourceware.org
Fri Nov 20 16:08:00 GMT 2009
POSIX states that futimens shall fail if fd is not a valid file descriptor.
AT_FDCWD, being negative, falls into this category. But in the current code
base, futimens(AT_FDCWD,NULL) updates the timestamps of the current directory.
http://sourceware.org/ml/libc-alpha/2009-10/msg00017.html
--
Summary: futimens should reject AT_FDCWD
Product: glibc
Version: 2.11
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: ebb9 at byu dot net
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=10992
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the Glibc-bugs
mailing list