1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00

[__NR_futimesat] (futimesat): If file is NULL use __futimes.

This commit is contained in:
Ulrich Drepper
2006-02-03 05:26:34 +00:00
parent 0d7ba87149
commit 86231f04f0

View File

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