r4042 - in glibc-package/trunk/debian: . patches patches/any
Author: aurel32
Date: 2010-01-02 12:07:02 +0000 (Sat, 02 Jan 2010)
New Revision: 4042
Added:
glibc-package/trunk/debian/patches/any/cvs-futimens.diff
Modified:
glibc-package/trunk/debian/changelog
glibc-package/trunk/debian/patches/series
Log:
* Add debian/patches/any/cvs-futimens.diff from upstream to correctly handle
AT_FDCWD in futimens().
Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog 2010-01-02 11:51:58 UTC (rev 4041)
+++ glibc-package/trunk/debian/changelog 2010-01-02 12:07:02 UTC (rev 4042)
@@ -20,6 +20,8 @@
API, backported from upstream. Closes: #559482.
* Add debian/patches/any/cvs-malloc_info-output.diff from upstream to fix
malloc_info() output. Closes: #562678.
+ * Add debian/patches/any/cvs-futimens.diff from upstream to correctly handle
+ AT_FDCWD in futimens().
[ Samuel Thibault ]
* testsuite-checking/expected-results-i486-linux-gnu-libc: Add hurd-i386
@@ -33,7 +35,7 @@
[ Petr Salinger]
* kfreebsd/local-sysdeps.diff: update to revision 2904 (from glibc-bsd).
- -- Aurelien Jarno <aurel32@debian.org> Sat, 02 Jan 2010 12:50:53 +0100
+ -- Aurelien Jarno <aurel32@debian.org> Sat, 02 Jan 2010 13:06:25 +0100
eglibc (2.10.2-2) unstable; urgency=low
Added: glibc-package/trunk/debian/patches/any/cvs-futimens.diff
===================================================================
--- glibc-package/trunk/debian/patches/any/cvs-futimens.diff (rev 0)
+++ glibc-package/trunk/debian/patches/any/cvs-futimens.diff 2010-01-02 12:07:02 UTC (rev 4042)
@@ -0,0 +1,18 @@
+2009-12-21 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/unix/sysv/linux/futimens.c: Handle AT_FDCWD.
+
+--- a/sysdeps/unix/sysv/linux/futimens.c
++++ b/sysdeps/unix/sysv/linux/futimens.c
+@@ -33,6 +33,11 @@ int
+ futimens (int fd, const struct timespec tsp[2])
+ {
+ #ifdef __NR_utimensat
++ if (fd < 0)
++ {
++ __set_errno (EBADF);
++ return -1;
++ }
+ return INLINE_SYSCALL (utimensat, 4, fd, NULL, tsp, 0);
+ #else
+ __set_errno (ENOSYS);
Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series 2010-01-02 11:51:58 UTC (rev 4041)
+++ glibc-package/trunk/debian/patches/series 2010-01-02 12:07:02 UTC (rev 4042)
@@ -219,3 +219,4 @@
any/submitted-gethostbyname3.diff
any/local-ntp-update.diff
any/cvs-malloc_info-output.diff
+any/cvs-futimens.diff
Reply to: