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