dpkg: fix creation of .list files (were empty since b768aeb). Closes 5324
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 22 Jun 2012 14:27:21 +0000 (16:27 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 22 Jun 2012 14:27:21 +0000 (16:27 +0200)
commit440a509849391f2dc8ec720a136577ede3306fa8
treed52caed6f400212530c8a2b1eab6c4829a530aac
parentd52c9510fd3a9407044166360fe8b752fd841efc
dpkg: fix creation of .list files (were empty since b768aeb). Closes 5324

While at it, fix filename order and free the list of names.

function                                             old     new   delta
llist_rev                                              -      21     +21
get_header_tar                                      1733    1741      +8
unpack_package                                       587     585      -2
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 1/1 up/down: 29/-2)              Total: 27 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
archival/dpkg.c
archival/libarchive/get_header_tar.c
include/bb_archive.h