commit | df7bfb433e23eac81ad0feb946d0a1e62be01d03 | [log] [tgz] |
---|---|---|
author | Manuel Novoa III <mjn3@codepoet.org> | Wed Mar 02 04:10:46 2005 +0000 |
committer | Manuel Novoa III <mjn3@codepoet.org> | Wed Mar 02 04:10:46 2005 +0000 |
tree | 7c203222fdd02c7caaa1648c0f65f330d4e6ee53 | |
parent | 0d8c652c46e49e71bbc93e405252ea87cfbe6c89 [diff] [blame] |
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 56d4d92..0c104cf 100644 --- a/archival/gzip.c +++ b/archival/gzip.c
@@ -1251,6 +1251,7 @@ for (i = optind; i < argc; i++) { char *path = NULL; + clear_bufs(); if (strcmp(argv[i], "-") == 0) { time_stamp = 0; ifile_size = -1L;