summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-08-02 16:22:43 +0000
committerJim Meyering <jim@meyering.net>1998-08-02 16:22:43 +0000
commit6e1306ba8b02bc3113d110cbfeab33a8f7488e83 (patch)
treefc56fe30b8921d614b99be5eae8816d285b40a83 /src
parenta607901e48f8c2d34deecbddb27b5f6db95f9168 (diff)
downloadcoreutils-6e1306ba8b02bc3113d110cbfeab33a8f7488e83.tar.xz
(touch): Add comment.
Diffstat (limited to 'src')
-rw-r--r--src/touch.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/touch.c b/src/touch.c
index b0d89fe98..2c7b05a7e 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;