diff options
author | Jim Meyering <jim@meyering.net> | 2002-03-30 07:10:57 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-03-30 07:10:57 +0000 |
commit | 9211474a6ee37178563544d882d81bc9c74fbba3 (patch) | |
tree | 470c9f9a6a42a3e563a1ba50ec071cbd9858c318 /src/ls-dir.c | |
parent | ca76cd842a396fd981299e6ca35fd8c46cd181cf (diff) | |
download | coreutils-9211474a6ee37178563544d882d81bc9c74fbba3.tar.xz |
(copy_internal): Move the block that sets `earlier_file'
down to just before the first use of that variable. Otherwise, it was
possible to make mv (and probably cp, too) malfunction when copying
hard-linked files into a directory containing at least one of the
source file names. Call forget_created everywhere thereafter where
this function returns without creating a destination file that might
subsequently be linked. Reported by Iida Yosiaki.
Diffstat (limited to 'src/ls-dir.c')
0 files changed, 0 insertions, 0 deletions