summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2014-09-17 18:50:08 +0100
committerPádraig Brady <P@draigBrady.com>2014-09-19 11:25:23 +0100
commit90aa291c39ca8970fbce310cc317c5cc7b392691 (patch)
tree2613a601eb8ce9970ec2e4bb1bb564a8db3336f4 /NEWS
parent8e93dc629727140e950a709008f9a17ca461af63 (diff)
downloadcoreutils-90aa291c39ca8970fbce310cc317c5cc7b392691.tar.xz
cp: issue correct warning and ignore duplicate source dirs
* src/copy.c (copy_internal): Handle the case where we have the same destination directory as already encountered, which can only be due to the corresponding source directory being specified multiple times. * tests/cp/duplicate-sources.sh: Add a test for the new multiply specified directory case, and the existing multiply specified file case. * tests/local.mk: Reference the new test. * NEWS: Mention the bug fix.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 0908f7b1c..7e623dca9 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,12 @@ GNU coreutils NEWS -*- outline -*-
* Noteworthy changes in release ?.? (????-??-??) [?]
+** Bug fixes
+
+ cp no longer issues an incorrect warning about directory hardlinks when a
+ source directory is specified multiple times. Instead a warning is issued
+ and the duplicate source directory is skipped, as already the case for files.
+
** New features
chroot accepts the new --skip-chdir option to not change the working directory