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:
fe38ed9
)
tweak comment
author
Jim Meyering
<jim@meyering.net>
Thu, 28 Dec 2000 11:31:44 +0000
(11:31 +0000)
committer
Jim Meyering
<jim@meyering.net>
Thu, 28 Dec 2000 11:31:44 +0000
(11:31 +0000)
src/copy.c
patch
|
blob
|
history
diff --git
a/src/copy.c
b/src/copy.c
index
c8c7a50
..
b96b7ba
100644
(file)
--- a/
src/copy.c
+++ b/
src/copy.c
@@
-504,8
+504,8
@@
same_file_ok (const char *src_path, const struct stat *src_sb,
}
/* It's ok to remove a destination symlink. But that works only when we
- unlink before opening the destination and when the
y're on the same
- partition. */
+ unlink before opening the destination and when the
source and destination
+
files are on the same
partition. */
if (x->unlink_dest_before_opening
&& S_ISLNK (dst_sb_link->st_mode))
return dst_sb_link->st_dev == src_sb_link->st_dev;