*: simplify checks for gz/bz2/xz magic
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 2 Jun 2010 12:14:48 +0000 (14:14 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 2 Jun 2010 12:14:48 +0000 (14:14 +0200)
commit26b6ccf340243ec3acd594c6928b18e95d3deea9
tree90955d90056adbd8724db164f7cbb3e56833ed8b
parentabb154ba02f9a9a98465cb1f816f974cca536392
*: simplify checks for gz/bz2/xz magic

function                                             old     new   delta
send_tree                                            360     355      -5
rpm2cpio_main                                        249     220     -29
setup_unzip_on_fd                                    150     118     -32
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/3 up/down: 0/-66)             Total: -66 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
archival/rpm2cpio.c
include/unarchive.h
libbb/read.c