diff options
author | Jim Meyering <jim@meyering.net> | 2003-08-30 18:13:23 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-08-30 18:13:23 +0000 |
commit | 97bf7dae4f9a41c751422b7976b8e06f0e5a9c67 (patch) | |
tree | 7804306358b0a80e807bf148d140c5dcf1def1f4 /src/ln.c | |
parent | c612365c071510f4b2ac06fbe7c950b4874ac348 (diff) | |
download | coreutils-97bf7dae4f9a41c751422b7976b8e06f0e5a9c67.tar.xz |
When source and destination arguments refer to the same file, reside
on a partition (e.g. VFAT) on which distinct names may refer to the
same directory entry (often due to variations in case), and when the
link count for the file is 1, mv no longer unlinks the file.
FIXME: this is a band-aid fix. If the file happens to have a link
count of 2 or greater, mv will still unlink it.
(same_file_ok): Invoke same_name (which might still
return false for names that refer to the same directory entry)
only if the link count is 2 or more.
Diffstat (limited to 'src/ln.c')
0 files changed, 0 insertions, 0 deletions