From: Sergey Poznyakoff Date: Thu, 13 Nov 2003 08:46:26 +0000 (+0000) Subject: (read_and): Initialize current_stat_info X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=cc8628df0c1b0e6e4acb1b1e797bde9bfb38094e;p=chaz%2Ftar (read_and): Initialize current_stat_info and extended_header at the start of the loop. --- diff --git a/src/list.c b/src/list.c index da71719..d23002b 100644 --- a/src/list.c +++ b/src/list.c @@ -76,6 +76,9 @@ read_and (void (*do_something) (void)) do { prev_status = status; + destroy_stat (¤t_stat_info); + xheader_destroy (&extended_header); + status = read_header (false); switch (status) {