projects
/
platform
/
upstream
/
linaro-glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d7ba87
)
[__NR_futimesat] (futimesat): If file is NULL use __futimes.
author
Ulrich Drepper
<drepper@redhat.com>
Fri, 3 Feb 2006 05:26:34 +0000
(
05:26
+0000)
committer
Ulrich Drepper
<drepper@redhat.com>
Fri, 3 Feb 2006 05:26:34 +0000
(
05:26
+0000)
sysdeps/unix/sysv/linux/futimesat.c
patch
|
blob
|
history
diff --git
a/sysdeps/unix/sysv/linux/futimesat.c
b/sysdeps/unix/sysv/linux/futimesat.c
index
514f456
..
7c96b78
100644
(file)
--- 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)