Bjorn Helgaas helgaas@rsn.hp.com
Bob McCracken kerouac@ravenet.com
Bob Proulx rwp@fc.hp.com
+Branden Robinson branden@necrotic.deadbeast.net
Brendan O'Dea bod@compusol.com.au
Brian Kimball bfk@footbag.org
Brian Youmans 3diff@gnu.org
Fix cp so that `cp -r DIR1/ DIR2' works once again.
* src/cp.c (ASSIGN_BASENAME_STRDUPA): New macro.
(do_copy): Use it here (so we always strip trailing slashes before
- calling base_name).
- Reported by Michael Stone.
+ calling base_name). Reported by Branden Robinson via Michael Stone.
Test for the above fix.
* tests/cp/Makefile.am (TESTS): Add dir-slash.