From: Manuel Novoa III Date: Wed, 2 Mar 2005 04:10:46 +0000 (-0000) Subject: Bandaid to make "gzip file1 file2 ..." set the decompression lengths correctly X-Git-Tag: 1_1_0~1094 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=df7bfb433e23eac81ad0feb946d0a1e62be01d03;p=oweals%2Fbusybox.git Bandaid to make "gzip file1 file2 ..." set the decompression lengths correctly in the 2nd and later headers. But this and gunzip really need to be rewritten. --- diff --git a/archival/gzip.c b/archival/gzip.c index 56d4d9278..0c104cfc6 100644 --- a/archival/gzip.c +++ b/archival/gzip.c @@ -1251,6 +1251,7 @@ int gzip_main(int argc, char **argv) for (i = optind; i < argc; i++) { char *path = NULL; + clear_bufs(); if (strcmp(argv[i], "-") == 0) { time_stamp = 0; ifile_size = -1L;