about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-02-03 05:28:06 +0000
committerUlrich Drepper <drepper@redhat.com>2006-02-03 05:28:06 +0000
commit470947aec4808831798ae46b9e49491225111d07 (patch)
treef4c52d14c0869d67123a31a5774a8e9e7c95c454
parent86231f04f0d7e84566666e16b503c96f9c7c04c1 (diff)
downloadglibc-470947aec4808831798ae46b9e49491225111d07.tar.gz
glibc-470947aec4808831798ae46b9e49491225111d07.tar.xz
glibc-470947aec4808831798ae46b9e49491225111d07.zip
* sysdeps/unix/sysv/linux/futimesat.c [__NR_futimesat] cvs/fedora-glibc-20060203T0932
	(futimesat): If file is NULL use __futimes.
	* include/sys/time.h: Declare __futimes.
-rw-r--r--ChangeLog6
-rw-r--r--include/sys/time.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 120d2638be..9959a91797 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-02-02  Ulrich Drepper  <drepper@redhat.com>
+
+	* sysdeps/unix/sysv/linux/futimesat.c [__NR_futimesat]
+	(futimesat): If file is NULL use __futimes.
+	* include/sys/time.h: Declare __futimes.
+
 2006-02-02  Roland McGrath  <roland@redhat.com>
 
 	* sysdeps/unix/sysv/linux/openat.c (__atfct_seterrno): Use the same
diff --git a/include/sys/time.h b/include/sys/time.h
index c70396f04e..ec4055276e 100644
--- a/include/sys/time.h
+++ b/include/sys/time.h
@@ -20,6 +20,7 @@ extern int __setitimer (enum __itimer_which __which,
 	attribute_hidden;
 extern int __utimes (__const char *__file, const struct timeval __tvp[2])
 	attribute_hidden;
+extern int __futimes (int fd, __const struct timeval tvp[2]) attribute_hidden;
 
 #ifndef NOT_IN_libc
 # define __gettimeofday(tv, tz) INTUSE(__gettimeofday) (tv, tz)