about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/futimesat.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-02-03 09:39:28 +0000
committerJakub Jelinek <jakub@redhat.com>2006-02-03 09:39:28 +0000
commit9f57ac239bd04f64ae20f6e7b35f387ae6605312 (patch)
tree1971d9c5a6261ff535fec20e8be494fac1f61eb2 /sysdeps/unix/sysv/linux/futimesat.c
parentc3a8c11b0c6a6e44e98dcd4bb0fdb397e4fd56f7 (diff)
downloadglibc-9f57ac239bd04f64ae20f6e7b35f387ae6605312.tar.gz
glibc-9f57ac239bd04f64ae20f6e7b35f387ae6605312.tar.xz
glibc-9f57ac239bd04f64ae20f6e7b35f387ae6605312.zip
Updated to fedora-glibc-20060203T0932
Diffstat (limited to 'sysdeps/unix/sysv/linux/futimesat.c')
-rw-r--r--sysdeps/unix/sysv/linux/futimesat.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/futimesat.c b/sysdeps/unix/sysv/linux/futimesat.c
index 514f456927..7c96b78045 100644
--- a/sysdeps/unix/sysv/linux/futimesat.c
+++ b/sysdeps/unix/sysv/linux/futimesat.c
@@ -42,6 +42,9 @@ futimesat (fd, file, tvp)
   if (__have_atfcts >= 0)
 # endif
     {
+      if (file == NULL)
+	return __futimes (fd, tvp);
+
       result = INLINE_SYSCALL (futimesat, 3, fd, file, tvp);
 # ifndef __ASSUME_ATFCTS
       if (result == -1 && errno == ENOSYS)