1 diff -ruNp tar-1.22.orig/src/list.c tar-1.22/src/list.c
2 --- tar-1.22.orig/src/list.c 2008-10-30 12:10:04.000000000 +0100
3 +++ tar-1.22/src/list.c 2009-03-06 00:03:05.925105425 +0100
4 @@ -136,6 +136,14 @@ read_and (void (*do_something) (void))
6 if (!ignore_zeros_option)
9 + * According to POSIX tar specs, this is wrong, but on the web
10 + * there are some tar specs that can trigger this, and some tar
11 + * implementations create tars according to that spec. For now,
12 + * let's not be pedantic about issuing the warning.
16 char buf[UINTMAX_STRSIZE_BOUND];
18 status = read_header (false);
19 @@ -143,6 +151,8 @@ read_and (void (*do_something) (void))
21 WARN ((0, 0, _("A lone zero block at %s"),
22 STRINGIFY_BIGINT (current_block_ordinal (), buf)));
24 + status = read_header (false);