projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e4dbf5
)
add comment to go along with last change
author
Jim Meyering
<jim@meyering.net>
Sat, 13 Jan 2001 15:50:01 +0000
(15:50 +0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 13 Jan 2001 15:50:01 +0000
(15:50 +0000)
src/copy.c
patch
|
blob
|
history
diff --git
a/src/copy.c
b/src/copy.c
index
b5e0989
..
1f8c40a
100644
(file)
--- 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);