summaryrefslogtreecommitdiff
path: root/src/copy.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2017-01-09 12:12:02 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2017-01-09 15:15:04 -0800
commitf4650aadbebc94169817169ccc368c589b64d7d0 (patch)
tree7a1fdf2a85d647cf0cac754f8d57a97e3a6589da /src/copy.c
parent9c0a3a27f70bbb27e839404571922b0f8f0d48da (diff)
downloadcoreutils-f4650aadbebc94169817169ccc368c589b64d7d0.tar.xz
maint: standardize on "timestamp" as per POSIX
Diffstat (limited to 'src/copy.c')
-rw-r--r--src/copy.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/copy.c b/src/copy.c
index 38d7c5da8..c3d71cbc8 100644
--- a/src/copy.c
+++ b/src/copy.c
@@ -1946,9 +1946,9 @@ copy_internal (char const *src_name, char const *dst_name,
if (!S_ISDIR (src_mode) && x->update)
{
- /* When preserving time stamps (but not moving within a file
- system), don't worry if the destination time stamp is
- less than the source merely because of time stamp
+ /* When preserving timestamps (but not moving within a file
+ system), don't worry if the destination timestamp is
+ less than the source merely because of timestamp
truncation. */
int options = ((x->preserve_timestamps
&& ! (x->move_mode
@@ -2681,7 +2681,7 @@ copy_internal (char const *src_name, char const *dst_name,
/* See if the destination is already the desired symlink.
FIXME: This behavior isn't documented, and seems wrong
in some cases, e.g., if the destination symlink has the
- wrong ownership, permissions, or time stamps. */
+ wrong ownership, permissions, or timestamps. */
char *dest_link_val =
areadlink_with_size (dst_name, dst_sb.st_size);
if (dest_link_val && STREQ (dest_link_val, src_link_val))