]> git.cworth.org Git - tar/blobdiff - src/list.c
Merge branch 'dfsg-orig' into dfsg-debian
[tar] / src / list.c
index d15653d3b39530a2fd27caa8ec1fa0519d1e9d87..fabe8b382725f76c368c581ce5a74b1ad17f4d98 100644 (file)
@@ -157,9 +157,17 @@ read_and (void (*do_something) (void))
                                    read_header_auto);
              if (status == HEADER_ZERO_BLOCK)
                break;
+             /* 
+              * According to POSIX tar specs, this is wrong, but on the web
+              * there are some tar specs that can trigger this, and some tar
+              * implementations create tars according to that spec.  For now,
+              * let's not be pedantic about issuing the warning.
+              */
+#if 0         
              WARNOPT (WARN_ALONE_ZERO_BLOCK,
                       (0, 0, _("A lone zero block at %s"),
                        STRINGIFY_BIGINT (current_block_ordinal (), buf)));
+#endif
              break;
            }
          status = prev_status;