]> Dogcows Code - chaz/tar/commitdiff
(finish_header): Report block numbers with origin 0, not origin 1.
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 7 Nov 1999 22:01:27 +0000 (22:01 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 7 Nov 1999 22:01:27 +0000 (22:01 +0000)
src/create.c

index 241310699ab0c37b091e8ca6907f28bdf0667d3d..b04b3a81bd24ce1ad9a6e898e8f5b19bf5d36bf6 100644 (file)
@@ -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);
 }
 \f
 /* Sparse file processing.  */
This page took 0.023429 seconds and 4 git commands to generate.