This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/10992] New: futimens should reject AT_FDCWD
- From: "ebb9 at byu dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 20 Nov 2009 16:08:30 -0000
- Subject: [Bug libc/10992] New: futimens should reject AT_FDCWD
- Reply-to: sourceware-bugzilla at sourceware dot org
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.