]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(change_timestamps): Add comment.
authorJim Meyering <jim@meyering.net>
Sun, 2 Aug 1998 16:22:24 +0000 (16:22 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 2 Aug 1998 16:22:24 +0000 (16:22 +0000)
src/install.c

index 6dc950e08fae20896311facc1d4e73ad23c589e7..3a694ed94c63fb1adf49d1b63e77157b81723940 100644 (file)
@@ -549,6 +549,11 @@ change_timestamps (const char *from, const char *to)
       error (0, errno, "%s", from);
       return 1;
     }
+
+  /* There's currently no interface to set file timestamps with
+     better than 1-second resolution, so discard any fractional
+     part of the source timestamp.  */
+
   utb.actime = stb.st_atime;
   utb.modtime = stb.st_mtime;
   if (utime (to, &utb))