diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-08 17:05:39 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-08 17:05:39 +0400 |
commit | c14d39e83a7f55ab9b92e98673a281fd6565c32d (patch) | |
tree | f1cfe7f071b228cf7f1a732046cabf18fa9421b8 /archival/bbunzip.c | |
parent | def8260219797b0f9f734915f4918f34e85e7049 (diff) |
rmp: add optional support for bz2 data. +50 bytes of code
Diffstat (limited to 'archival/bbunzip.c')
-rw-r--r-- | archival/bbunzip.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archival/bbunzip.c b/archival/bbunzip.c index 83b5637cd..bd1526b20 100644 --- a/archival/bbunzip.c +++ b/archival/bbunzip.c @@ -155,7 +155,7 @@ char* make_new_name_bunzip2(char *filename) static USE_DESKTOP(long long) int unpack_bunzip2(void) { - return uncompressStream(STDIN_FILENO, STDOUT_FILENO); + return unpack_bz2_stream(STDIN_FILENO, STDOUT_FILENO); } int bunzip2_main(int argc, char **argv); @@ -242,7 +242,7 @@ USE_DESKTOP(long long) int unpack_gunzip(void) status = uncompress(STDIN_FILENO, STDOUT_FILENO); } else if (magic2 == 0x8b) { check_header_gzip_or_die(STDIN_FILENO); - status = inflate_gunzip(STDIN_FILENO, STDOUT_FILENO); + status = unpack_gz_stream(STDIN_FILENO, STDOUT_FILENO); } else { goto bad_magic; } @@ -292,7 +292,7 @@ char* make_new_name_unlzma(char *filename) static USE_DESKTOP(long long) int unpack_unlzma(void) { - return unlzma(STDIN_FILENO, STDOUT_FILENO); + return unpack_lzma_stream(STDIN_FILENO, STDOUT_FILENO); } int unlzma_main(int argc, char **argv); |