(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.
This commit is contained in:
Sergey Poznyakoff
2004-03-12 10:38:46 +00:00
parent e189bd8eca
commit 683390b02d

View File

@@ -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;