summaryrefslogtreecommitdiff
path: root/src/cp-hash.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2002-03-30 07:10:57 +0000
committerJim Meyering <jim@meyering.net>2002-03-30 07:10:57 +0000
commit9211474a6ee37178563544d882d81bc9c74fbba3 (patch)
tree470c9f9a6a42a3e563a1ba50ec071cbd9858c318 /src/cp-hash.c
parentca76cd842a396fd981299e6ca35fd8c46cd181cf (diff)
downloadcoreutils-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/cp-hash.c')
0 files changed, 0 insertions, 0 deletions