]> git.ipfire.org Git - thirdparty/coreutils.git/commit
cp: fix handling of -H with multiply specified source dirs
authorPádraig Brady <P@draigBrady.com>
Thu, 18 Sep 2014 10:31:22 +0000 (11:31 +0100)
committerPádraig Brady <P@draigBrady.com>
Fri, 19 Sep 2014 10:25:23 +0000 (11:25 +0100)
commit756a928c8c4823bd0ed541ecbbc5b4ea7a2ccaa9
tree822857b880e991b55b831791db5180d166b7a1c3
parent90aa291c39ca8970fbce310cc317c5cc7b392691
cp: fix handling of -H with multiply specified source dirs

Following on from commit v5.92-729-g130dd06, also avoid
the erroneous directory hardlink warning with -H.

* src/copy.c (copy_internal): Also handle the -H case
for command line arguments.
* tests/cp/duplicate-sources.sh: Augment the test case.
* NEWS: Augment the news entry.
NEWS
src/copy.c
tests/cp/duplicate-sources.sh