summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-05-11 08:55:08 +0000
committerJim Meyering <jim@meyering.net>2006-05-11 08:55:08 +0000
commitaf5ca358b931e3a62cccd2b577249fadd79ec63d (patch)
tree9d8094593a471aa67daf802abf51bb023400a7aa
parent156459c2f5e368fdd2c55fc051caeb48fd995b4c (diff)
downloadcoreutils-af5ca358b931e3a62cccd2b577249fadd79ec63d.tar.xz
*** empty log message ***
-rw-r--r--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 332843d6a..f66a645fa 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.