summaryrefslogtreecommitdiff
path: root/man
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 /man
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 'man')
0 files changed, 0 insertions, 0 deletions