diff options
author | Pádraig Brady <P@draigBrady.com> | 2014-09-17 18:50:08 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2014-09-19 11:25:23 +0100 |
commit | 90aa291c39ca8970fbce310cc317c5cc7b392691 (patch) | |
tree | 2613a601eb8ce9970ec2e4bb1bb564a8db3336f4 /NEWS | |
parent | 8e93dc629727140e950a709008f9a17ca461af63 (diff) | |
download | coreutils-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-- | NEWS | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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 |