rpm: use "create+rename" method of replacing existing files
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 20 Feb 2013 14:58:42 +0000 (15:58 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 20 Feb 2013 14:58:42 +0000 (15:58 +0100)
commit2aec773688fd64857e9446838187170760acddd4
tree4528074a1856b5656b5db6d140026a486c44714d
parent10f5f9b10d5bb18aa612e8f340d8454421015b00
rpm: use "create+rename" method of replacing existing files

Users were reporting getting errors like
"ls: error while loading shared libraries: libc.so.6: ELF load command past end of file"
while rpm was unpacking glibc tarball.

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