From: Jim Meyering Date: Thu, 11 May 2006 08:55:08 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: v6.0~404 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af5ca358b931e3a62cccd2b577249fadd79ec63d;p=thirdparty%2Fcoreutils.git *** empty log message *** --- diff --git a/ChangeLog b/ChangeLog index 332843d6a7..f66a645fac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,15 @@ * Version 6.0-cvs. + mv -T DIR EMPTY_DIR no longer fails + * src/copy.c (copy_internal): Don't manually prohibit a move where + the destination is an existing directory. Sometimes doing that is + valid. Let the rename system call enforce the rules. That is + allowed only when the source is a directory and the destination + directory (to be replaced) is empty. Reported by Eric Blake. + * tests/mv/no-target-dir: New file/test for this. + * tests/mv/Makefile.am (TESTS): Add no-target-dir. + * tests/mv/atomic: New file/test for yesterday's fix. * tests/mv/Makefile.am (TESTS): Add atomic.