]> Dogcows Code - chaz/tar/commitdiff
(read_and): Stop processing the archive after
authorSergey Poznyakoff <gray@gnu.org.ua>
Fri, 12 Mar 2004 10:38:46 +0000 (10:38 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Fri, 12 Mar 2004 10:38:46 +0000 (10:38 +0000)
encountering a single zero record. Many old archives contain
arbitrary garbage after it.
The warning is issued anyway.

src/list.c

index 869f2d0aac145b3d08aa3c7767dbf0f1bc18a95a..f5684c443aa30b3ca97b282469c4914b3740c4f2 100644 (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;
This page took 0.024324 seconds and 4 git commands to generate.