From: Paul Eggert Date: Sun, 7 Nov 1999 22:01:27 +0000 (+0000) Subject: (finish_header): Report block numbers with origin 0, not origin 1. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=04f1deefad399bcf5bec6bb6afc2a0a53c498025;p=chaz%2Ftar (finish_header): Report block numbers with origin 0, not origin 1. --- diff --git a/src/create.c b/src/create.c index 2413106..b04b3a8 100644 --- a/src/create.c +++ b/src/create.c @@ -567,8 +567,6 @@ finish_header (union block *header) uintmax_to_chars ((uintmax_t) sum, header->header.chksum, 7); - set_next_block_after (header); - if (verbose_option && header->header.typeflag != GNUTYPE_LONGLINK && header->header.typeflag != GNUTYPE_LONGNAME) @@ -580,6 +578,8 @@ finish_header (union block *header) current_format = archive_format; print_header (); } + + set_next_block_after (header); } /* Sparse file processing. */