From: Sergey Poznyakoff Date: Fri, 12 Mar 2004 10:38:46 +0000 (+0000) Subject: (read_and): Stop processing the archive after X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;ds=sidebyside;h=683390b02dedca56036b9b1b2aeae46fbfde4e49;p=chaz%2Ftar (read_and): Stop processing the archive after encountering a single zero record. Many old archives contain arbitrary garbage after it. The warning is issued anyway. --- diff --git a/src/list.c b/src/list.c index 869f2d0..f5684c4 100644 --- a/src/list.c +++ b/src/list.c @@ -140,6 +140,7 @@ read_and (void (*do_something) (void)) break; WARN ((0, 0, _("A lone zero block at %s"), STRINGIFY_BIGINT (current_block_ordinal (), buf))); + break; } status = prev_status; continue;