rmp: add optional support for bz2 data. +50 bytes of code

This commit is contained in:
Denis Vlasenko
2007-06-08 13:05:39 +00:00
parent def8260219
commit c14d39e83a
12 changed files with 42 additions and 24 deletions

View File

@ -80,7 +80,7 @@ int rpm2cpio_main(int argc, char **argv)
}
check_header_gzip_or_die(rpm_fd);
if (inflate_gunzip(rpm_fd, STDOUT_FILENO) < 0) {
if (unpack_gz_stream(rpm_fd, STDOUT_FILENO) < 0) {
bb_error_msg("error inflating");
}