mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
[__NR_futimesat] (futimesat): If file is NULL use __futimes.
This commit is contained in:
parent
0d7ba87149
commit
86231f04f0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user