From: Jim Meyering Date: Sat, 13 Jan 2001 15:50:01 +0000 (+0000) Subject: add comment to go along with last change X-Git-Tag: FILEUTILS-4_0_36~27 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=e2aae9e1660ff0f99794a5f050e3eef269e0c86d;p=thirdparty%2Fcoreutils.git add comment to go along with last change --- diff --git a/src/copy.c b/src/copy.c index b5e09899cc..1f8c40a20b 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);