diff options
author | Jim Meyering <jim@meyering.net> | 1998-08-02 16:24:41 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-08-02 16:24:41 +0000 |
commit | 0136b885fe1a7670ad5893da59b8d1fd6302f834 (patch) | |
tree | cb235905a785d58be9c9b1f61720b1d1a5f652f5 /src | |
parent | 0f7ac758540d5bf8bfd92a2667024bf7bc6c6fae (diff) | |
download | coreutils-0136b885fe1a7670ad5893da59b8d1fd6302f834.tar.xz |
(re_protect): Add comment.
Diffstat (limited to 'src')
-rw-r--r-- | src/cp.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |