]> git.cworth.org Git - tar/blobdiff - src/misc.c
Preserve timestamp of symlinks when extracting (if utimensat available)
[tar] / src / misc.c
index 951449eb0c0b035246b02fc50f27d7a7c7e1a49f..d8255f7f3ff4433cc88f8b28ccc87de36ebb9516 100644 (file)
@@ -516,7 +516,7 @@ set_file_atime (int fd, char const *file, struct timespec const timespec[2])
     }
 #endif
 
-  return gl_futimens (fd, file, timespec);
+  return gl_futimens (fd, file, timespec, 0);
 }
 
 /* A description of a working directory.  */