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>
Thu, 1 Feb 2018 08:30:59 +0000 (09:30 +0100)
commitd15d7a0a4b07a55268546f0d32b6a3ed78a2ac77
treec1657aff3ed6cc999f1090930dac9671926b36a8
parentd6f0f03b68fc4cf9ffb8006e192e36f0ebf51ea6
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