rpm: code shrink. Now uses open_zipped's logic (factored out into setup_unzip_on_fd())
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 6 May 2010 14:19:19 +0000 (14:19 +0000)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 6 May 2010 14:19:19 +0000 (14:19 +0000)
commit27653adc8b7ebe44bd357511de53d0c14eef0894
treed1c9b0facbcca408a18d75f93aa507e96927ef31
parentb8ba6b66f5d730efcf13dbbb3f9362dd6840d93b
rpm: code shrink. Now uses open_zipped's logic (factored out into setup_unzip_on_fd())

function                                             old     new   delta
setup_unzip_on_fd                                      -      80     +80
open_zipped                                          176     113     -63
rpm_main                                            1672    1355    -317
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/2 up/down: 80/-380)          Total: -300 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
archival/rpm.c
archival/rpm.h [new file with mode: 0644]
archival/rpm2cpio.c
include/libbb.h
libbb/read.c