]> git.cworth.org Git - tar/blobdiff - src/list.c
Merge branch 'dfsg-orig' into dfsg-debian
[tar] / src / list.c
index 716c0b4230a3e50c07dc7ec98afbf6d6aa56381f..6dbc439a0c61580b74a73d11efb671467381652a 100644 (file)
@@ -144,9 +144,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;