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

index b0d89fe9805fff43f71319b1c256e2469e91f157..2c7b05a7eabccba8069cb9a1b858595e1d9d67ac 100644 (file)
@@ -175,6 +175,10 @@ touch (char *file)
     {
       struct utimbuf utb;
 
+      /* There's currently no interface to set file timestamps with
+        better than 1-second resolution, so discard any fractional
+        part of the source timestamp.  */
+
       if (use_ref)
        {
          utb.actime = ref_stats.st_atime;