From: Jim Meyering Date: Sun, 2 Aug 1998 16:22:24 +0000 (+0000) Subject: (change_timestamps): Add comment. X-Git-Tag: FILEUTILS-3_16t~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a607901e48f8c2d34deecbddb27b5f6db95f9168;p=thirdparty%2Fcoreutils.git (change_timestamps): Add comment. --- diff --git a/src/install.c b/src/install.c index 6dc950e08f..3a694ed94c 100644 --- a/src/install.c +++ b/src/install.c @@ -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))