summaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2005-03-02 04:10:46 +0000
committerManuel Novoa III <mjn3@codepoet.org>2005-03-02 04:10:46 +0000
commitdf7bfb433e23eac81ad0feb946d0a1e62be01d03 (patch)
tree7c203222fdd02c7caaa1648c0f65f330d4e6ee53 /archival
parent0d8c652c46e49e71bbc93e405252ea87cfbe6c89 (diff)
downloadbusybox-w32-df7bfb433e23eac81ad0feb946d0a1e62be01d03.tar.gz
busybox-w32-df7bfb433e23eac81ad0feb946d0a1e62be01d03.tar.bz2
busybox-w32-df7bfb433e23eac81ad0feb946d0a1e62be01d03.zip
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.
Diffstat (limited to 'archival')
-rw-r--r--archival/gzip.c1
1 files changed, 1 insertions, 0 deletions
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)
1251 for (i = optind; i < argc; i++) { 1251 for (i = optind; i < argc; i++) {
1252 char *path = NULL; 1252 char *path = NULL;
1253 1253
1254 clear_bufs();
1254 if (strcmp(argv[i], "-") == 0) { 1255 if (strcmp(argv[i], "-") == 0) {
1255 time_stamp = 0; 1256 time_stamp = 0;
1256 ifile_size = -1L; 1257 ifile_size = -1L;