tar: optional support for --to-command

function                                             old     new   delta
data_extract_to_command                                -     430    +430
dec2env                                                -      44     +44
tar_main                                             778     819     +41
str2env                                                -      37     +37
tar_var                                                -      32     +32
xputenv                                                -      22     +22
tar_longopts                                         257     270     +13
------------------------------------------------------------------------------
(add/remove: 6/0 grow/shrink: 2/0 up/down: 619/0)             Total: 619 bytes

Signed-off-by: Ladislav Michl <Ladislav.Michl@seznam.cz>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Ladislav Michl
2010-06-25 01:33:00 +02:00
committed by Denys Vlasenko
parent 51fa147c9b
commit 2b46fd49b1
5 changed files with 163 additions and 0 deletions

View File

@@ -280,6 +280,15 @@ config FEATURE_TAR_LONG_OPTIONS
help
Enable use of long options, increases size by about 400 Bytes
config FEATURE_TAR_TO_COMMAND
bool "Support for writing to an external program"
default y
depends on TAR && FEATURE_TAR_LONG_OPTIONS
help
If you enable this option you'll be able to instruct tar to send
the contents of each extracted file to the standard input of an
external program.
config FEATURE_TAR_UNAME_GNAME
bool "Enable use of user and group names"
default y