rpm2cpio: handle unseekable input correctly
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 28 Aug 2009 19:09:51 +0000 (21:09 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 28 Aug 2009 19:09:51 +0000 (21:09 +0200)
commit0a130d510dc5272dc2fc7bc5a116f0694c8bd2a9
tree029e91a6302547df06524ae6d73ecb5b85e35360
parent7f2149489fe62373a13792d3de6c33c39725c76c
rpm2cpio: handle unseekable input correctly

function                                             old     new   delta
data_skip                                             14      20      +6
seek_by_jump                                          67      72      +5
data_align                                            81      84      +3
seek_by_read                                          20      19      -1
skip_header                                           99      94      -5
rpm2cpio_main                                        183     177      -6
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/3 up/down: 14/-12)              Total: 2 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
archival/libunarchive/data_align.c
archival/libunarchive/data_skip.c
archival/libunarchive/seek_by_jump.c
archival/libunarchive/seek_by_read.c
archival/rpm2cpio.c
include/unarchive.h