From 0136b885fe1a7670ad5893da59b8d1fd6302f834 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 2 Aug 1998 16:24:41 +0000 Subject: (re_protect): Add comment. --- src/cp.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/cp.c b/src/cp.c index f3c239073..ef73da2e1 100644 --- 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; -- cgit v1.2.3-70-g09d2