diff options
author | Ken Booth <ken@booths.org.uk> | 2013-07-02 01:06:32 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2013-07-25 16:45:02 +0100 |
commit | 2bdb74ec1a453f6c6084d042e573de436ec205f3 (patch) | |
tree | 08f8c9fdc929321f414b8e1355643e13a78271ea /NEWS | |
parent | 68e5e8886170a3c2af88f830f2ac36100a9a610b (diff) | |
download | coreutils-2bdb74ec1a453f6c6084d042e573de436ec205f3.tar.xz |
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
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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] |