xz compression detection: avoid the need to seek
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 1 Jul 2010 03:12:28 +0000 (05:12 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 1 Jul 2010 03:12:28 +0000 (05:12 +0200)
commit45f66167fe96de219aac91d842f3e64d857340f6
treec141f2aa8213089258125b370a7427bf14937aaf
parent620e863ba24fe9e0126d1540e89a531264021a77
xz compression detection: avoid the need to seek

function                                             old     new   delta
unpack_unxz                                           12      67     +55
unpack_xz_stream                                    2357    2373     +16
xmalloc_read                                         197     199      +2
setup_unzip_on_fd                                    118      99     -19
rpm2cpio_main                                        222     203     -19
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/2 up/down: 73/-38)             Total: 35 bytes

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