From 1a8be01ab15e80124406cb8fec33a528ce703756 Mon Sep 17 00:00:00 2001 From: Wichert Akkerman Date: Wed, 4 Oct 2000 14:44:40 +0000 Subject: [PATCH] read trailing zeroes from tar output --- ChangeLog | 4 ++++ main/processarc.c | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index e4937d2a..e97c12d1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Oct 4 16:37:08 CEST 2000 Wichert Akkerman + + * main/processarc.c: read trailing zeroes from tar output + Tue 03 Oct 23:13:59 CEST 2000 peter karlsson * po/sv.po: Updated Swedish translation. diff --git a/main/processarc.c b/main/processarc.c index e073df7b..881adbfa 100644 --- a/main/processarc.c +++ b/main/processarc.c @@ -531,6 +531,7 @@ void process_archive(const char *filename) { } tmpf= tc.backendpipe; tc.backendpipe= 0; + while (getc(tmpf) != EOF) ; /* zap possible trailing zeros */ fclose(tmpf); waitsubproc(c1,BACKEND " --fsys-tarfile",1); -- 2.39.5