]> git.ipfire.org Git - thirdparty/coreutils.git/commit
cp: remove ASSIGN_BASENAME_STRDUPA
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 6 Jan 2018 06:55:47 +0000 (22:55 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 6 Jan 2018 06:57:21 +0000 (22:57 -0800)
commitb88f8d1101d7e4afd20314dc60bff155c9f7db1f
treeed235db1c38c94573e6e31ce9afa926411881d91
parent7e244891b0c41bbf9f5b5917d1a71c183a8367ac
cp: remove ASSIGN_BASENAME_STRDUPA

* src/cp.c (do_copy): Just use ASSIGN_STRDUPA, as this simplifies
the code and uses less memory.
src/cp.c