busybox/miscutils
Ron Yorston c339c7f7b3 libarchive: add a function to unpack embedded data
Similar code to unpack embedded data is used to decompress usage
messages, embedded scripts and the config file (in the non-default
bbconfig applet).

Moving this code to a common function reduces the size of the default
build and hides more of the internals of libarchive.

function                                             old     new   delta
unpack_bz2_data                                        -     135    +135
bb_show_usage                                        137     157     +20
get_script_content                                    32      47     +15
unpack_scripts                                       119       -    -119
unpack_usage_messages                                124       -    -124
------------------------------------------------------------------------------
(add/remove: 1/2 grow/shrink: 2/0 up/down: 170/-243)          Total: -73 bytes

Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2018-11-02 14:14:51 +01:00
..
2017-08-08 21:55:02 +02:00
2017-08-08 17:09:40 +02:00
2017-08-08 21:55:02 +02:00
2017-08-08 21:55:02 +02:00
2017-07-21 09:50:55 +02:00
2017-07-21 09:50:55 +02:00
2017-08-08 21:55:02 +02:00
2017-07-21 09:50:55 +02:00
2017-07-21 09:50:55 +02:00
2016-11-23 10:43:39 +01:00
2017-08-08 21:55:02 +02:00
2017-08-08 21:55:02 +02:00
2017-07-21 09:50:55 +02:00
2017-08-05 01:46:39 +02:00
2017-07-21 09:50:55 +02:00
2017-08-04 17:59:46 +02:00
2017-07-21 09:50:55 +02:00
2017-07-21 09:50:55 +02:00
2018-04-08 17:23:27 +02:00
2017-07-21 09:50:55 +02:00
2017-08-08 21:55:02 +02:00