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:
@ -1251,6 +1251,7 @@ int gzip_main(int argc, char **argv)
|
|||||||
for (i = optind; i < argc; i++) {
|
for (i = optind; i < argc; i++) {
|
||||||
char *path = NULL;
|
char *path = NULL;
|
||||||
|
|
||||||
|
clear_bufs();
|
||||||
if (strcmp(argv[i], "-") == 0) {
|
if (strcmp(argv[i], "-") == 0) {
|
||||||
time_stamp = 0;
|
time_stamp = 0;
|
||||||
ifile_size = -1L;
|
ifile_size = -1L;
|
||||||
|
Reference in New Issue
Block a user