* gnulib: Update to latest.
* bootstrap.conf (gnulib_modules): Add fdutimensat.
* src/touch.c (touch): Use fdutimensat instead of gl_futimens.
fcntl
fcntl-safer
fdl
+ fdutimensat
file-type
fileblocks
filemode
-Subproject commit 583c47de09e3fb912baa00ddd405ab66fdad433c
+Subproject commit 18aae5b74420237d8c827e7c68312c5b71d659dc
t = NULL;
}
- ok = ((no_dereference && fd == -1) ? lutimens (file, t)
- : gl_futimens (fd, (fd == STDOUT_FILENO ? NULL : file), t)) == 0;
+ ok = (fdutimensat (AT_FDCWD, (fd == STDOUT_FILENO ? NULL : file), fd, t,
+ (no_dereference && fd == -1) ? AT_SYMLINK_NOFOLLOW : 0)
+ == 0);
if (fd == STDIN_FILENO)
{