aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)
for (i = optind; i < argc; i++) {
char *path = NULL;
+ clear_bufs();
if (strcmp(argv[i], "-") == 0) {
time_stamp = 0;
ifile_size = -1L;