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.
This commit is contained in:
Manuel Novoa III 2005-03-02 04:10:46 +00:00
parent 0d8c652c46
commit df7bfb433e

View File

@ -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;