]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
*** empty log message ***
authorJim Meyering <jim@meyering.net>
Thu, 11 May 2006 08:55:08 +0000 (08:55 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 11 May 2006 08:55:08 +0000 (08:55 +0000)
ChangeLog

index 332843d6a7396c2cb5778037814d48c2c01a175e..f66a645faccb809e6130763dbc6d2193439a70ec 100644 (file)
--- 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.