* sysdeps/unix/sysv/linux/futimesat.c [__NR_futimesat]

(futimesat): If file is NULL use __futimes.
	* include/sys/time.h: Declare __futimes.
This commit is contained in:
Ulrich Drepper 2006-02-03 05:28:06 +00:00
parent 86231f04f0
commit 470947aec4
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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)