tar: handle -m (--touch) switch, enabled by FEATURE_TAR_NOPRESERVE_TIME

function                                             old     new   delta
.rodata                                             2731    2779     +48
usage_messages                                       432     471     +39
tar_main                                             603     614     +11
tar_longopts                                         211     219      +8
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/0 up/down: 106/0)             Total: 106 bytes

Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Mikhail Gusarov
2010-01-19 20:22:30 +06:00
committed by Denys Vlasenko
parent 2e5fa4a69d
commit 0d478334b3
3 changed files with 22 additions and 1 deletions

View File

@@ -276,6 +276,13 @@ config FEATURE_TAR_UNAME_GNAME
listings (-t) and preserving permissions when unpacking (-p).
+200 bytes.
config FEATURE_TAR_NOPRESERVE_TIME
bool "Enable -m (do not preserve time) option"
default n
depends on TAR
help
With this option busybox supports GNU tar -m (do not preserve time) option.
endif #tar
config UNCOMPRESS