]> git.cworth.org Git - tar/blobdiff - src/list.c
Merge branch 'dfsg-orig' into dfsg-debian
[tar] / src / list.c
index 98c1e396b3547cb22a5ac590bb24d03b03a9b521..c6501722ff4c0d8cbff54ee1db8b62daaf61729c 100644 (file)
@@ -136,6 +136,14 @@ read_and (void (*do_something) (void))
 
          if (!ignore_zeros_option)
            {
+
+             /* 
+              * 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         
              char buf[UINTMAX_STRSIZE_BOUND];
 
              status = read_header (false);
@@ -143,6 +151,7 @@ read_and (void (*do_something) (void))
                break;
              WARN ((0, 0, _("A lone zero block at %s"),
                     STRINGIFY_BIGINT (current_block_ordinal (), buf)));
+#endif
              break;
            }
          status = prev_status;