Jim Meyering f880990daf Revert the previous change.
(copy_internal): In move mode, if the rename attempt
fails, then unlink any existing destination file.  This makes a
cross-device `mv' more consistent with the intra-device behavior.
This change is required by POSIX to make a cross-device move act with
semantics similar to those of the rename syscall.  For example now
`mv' can move a file onto a symlink to itself when that symlink
is on a separate partition.  With fileutils-4.0j, it would fail with
a diagnostic saying they were the same file.
Reported by Bruno Haible.
1999-12-05 15:13:21 +00:00
.
1999-11-26 07:31:42 +00:00
.
1999-11-26 07:31:42 +00:00
1999-11-10 06:14:12 +00:00
1999-12-04 17:34:39 +00:00
1998-08-13 04:06:52 +00:00
1999-12-05 15:13:21 +00:00
1999-12-04 17:46:39 +00:00
1998-05-03 20:46:29 +00:00
.
1997-06-25 17:01:22 +00:00
1999-01-17 13:53:32 +00:00
.
1997-02-04 03:29:06 +00:00
1999-12-04 16:56:07 +00:00
S
Description
GNU Coreutils
GPL-3.0
48 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 55.1%
Shell 29.1%
Perl 11.6%
Makefile 2.2%
M4 0.9%
Other 1.1%