Blame SOURCES/tar-1.14-loneZeroWarning.patch

a4d85a
diff --git a/src/list.c b/src/list.c
a4d85a
index cf2de09..f4e6e0a 100644
a4d85a
--- a/src/list.c
a4d85a
+++ b/src/list.c
a4d85a
@@ -212,6 +212,14 @@ read_and (void (*do_something) (void))
a4d85a
 
a4d85a
 	  if (!ignore_zeros_option)
a4d85a
 	    {
a4d85a
+             /*
a4d85a
+              * According to POSIX tar specs, this is wrong, but on the web
a4d85a
+              * there are some tar specs that can trigger this, and some tar
a4d85a
+              * implementations create tars according to that spec.  For now,
a4d85a
+              * let's not be pedantic about issuing the warning.
a4d85a
+              */
a4d85a
+#if 0
a4d85a
+
a4d85a
 	      char buf[UINTMAX_STRSIZE_BOUND];
a4d85a
 
a4d85a
 	      status = read_header (&current_header, &current_stat_info,
a4d85a
@@ -221,6 +229,9 @@ read_and (void (*do_something) (void))
a4d85a
 	      WARNOPT (WARN_ALONE_ZERO_BLOCK,
a4d85a
 		       (0, 0, _("A lone zero block at %s"),
a4d85a
 			STRINGIFY_BIGINT (current_block_ordinal (), buf)));
a4d85a
+#endif
a4d85a
+	      status = read_header (&current_header, &current_stat_info,
a4d85a
+	                            read_header_auto);
a4d85a
 	      break;
a4d85a
 	    }
a4d85a
 	  status = prev_status;