cp: implement -T
authorAaro Koskinen <aaro.koskinen@iki.fi>
Thu, 1 Feb 2018 08:29:05 +0000 (09:29 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 14 Feb 2018 16:38:29 +0000 (17:38 +0100)
commitce5ba9277b5b712c18208f8116edc2dcfa490e43
treee280b12dd6172c0a10a9ad69217dd023bc272788
parent20f02c3c871cf0c8d9d2f2dad11d96c0ea41e0df
cp: implement -T

Implement "cp -T". Some Linux kernel Makefiles started using this recently,
so allow also building on systems using busybox cp.

function                                             old     new   delta
cp_main                                              360     428     +68
copy_file                                           1678    1676      -2
packed_usage                                       32290   32259     -31
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/2 up/down: 76/-39)             Total: 35 bytes

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/cp.c
include/libbb.h