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

index f3c23907324f576a82f2c7789101c7480b7cfea0..ef73da2e1f1a010ada5fb2e62834b862e2af747a 100644 (file)
--- a/src/cp.c
+++ b/src/cp.c
@@ -233,6 +233,10 @@ re_protect (const char *const_dst_path, int src_offset,
        {
          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.  */
+
          utb.actime = src_sb.st_atime;
          utb.modtime = src_sb.st_mtime;