]> git.cworth.org Git - tar/blobdiff - src/list.c
Respect DEB_BUILD_OPTIONS=nocheck to conform with Debian Policy 3.8.2
[tar] / src / list.c
index 98c1e396b3547cb22a5ac590bb24d03b03a9b521..126a3c1fb8b2732a5fefe724bceb21e41fb3376b 100644 (file)
@@ -141,8 +141,16 @@ read_and (void (*do_something) (void))
              status = read_header (false);
              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         
              WARN ((0, 0, _("A lone zero block at %s"),
                     STRINGIFY_BIGINT (current_block_ordinal (), buf)));
+#endif
              break;
            }
          status = prev_status;