From 2bdb74ec1a453f6c6084d042e573de436ec205f3 Mon Sep 17 00:00:00 2001 From: Ken Booth Date: Tue, 2 Jul 2013 01:06:32 +0100 Subject: mv: replace empty directories in cross file system move src/copy.c (copy_internal): Use rmdir() rather than unlink() when the source is a directory, so that empty directories are replaced in the destination as per POSIX. * tests/mv/part-rename.sh: Augment with various combinations. * NEWS: Mention the bug fix. Fixes http://bugs.gnu.org/14763 --- NEWS | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'NEWS') diff --git a/NEWS b/NEWS index 62181ec8d..3d0fb18b1 100644 --- a/NEWS +++ b/NEWS @@ -22,6 +22,10 @@ GNU coreutils NEWS -*- outline -*- system such as GNU/Linux where directory ACL umasks override process umasks. [bug introduced in coreutils-6.0] + mv will now replace empty directories in the destination with directories + from the source, when copying across file systems. + [This bug was present in "the beginning".] + od -wN with N larger than 64K on a system with 32-bit size_t would print approximately 2*N bytes of extraneous padding. [Bug introduced in coreutils-7.0] -- cgit v1.2.3-70-g09d2