1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-19 02:10:57 +02:00

add comment to go along with last change

This commit is contained in:
Jim Meyering
2001-01-13 15:50:01 +00:00
parent 8e4dbf5ab0
commit e2aae9e166

View File

@@ -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);