summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-01-13 15:50:01 +0000
committerJim Meyering <jim@meyering.net>2001-01-13 15:50:01 +0000
commite2aae9e1660ff0f99794a5f050e3eef269e0c86d (patch)
tree74d18166795ef991dcb919b40830ead16146d0b3
parent8e4dbf5ab07492a600aa038705c10a75dbc43b6b (diff)
downloadcoreutils-e2aae9e1660ff0f99794a5f050e3eef269e0c86d.tar.xz
add comment to go along with last change
-rw-r--r--src/copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/copy.c b/src/copy.c
index b5e09899c..1f8c40a20 100644
--- a/src/copy.c
+++ b/src/copy.c
@@ -422,7 +422,7 @@ same_file_ok (const char *src_path, const struct stat *src_sb,
/* If both the source and destination files are symlinks (and we'll
know this here IFF preserving symlinks (aka xstat == lstat),
- then it's ok. */
+ then it's ok -- as long as they are distinct. */
if (S_ISLNK (src_sb->st_mode) && S_ISLNK (dst_sb->st_mode))
return ! same_name (src_path, dst_path);