From: Sergey Poznyakoff Date: Mon, 12 Jun 2006 13:19:16 +0000 (+0000) Subject: (records_skipped): Remove static qualifier, the X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=05b250d4a4db4b83e235677c674d789839037d4e;p=chaz%2Ftar (records_skipped): Remove static qualifier, the variable is used by print_total_stats in buffer.c --- diff --git a/src/delete.c b/src/delete.c index 3e6addd..e369a7a 100644 --- a/src/delete.c +++ b/src/delete.c @@ -39,7 +39,7 @@ extern off_t records_written; /* The number of records skipped at the start of the archive, when passing over members that are not deleted. */ -static off_t records_skipped; +off_t records_skipped; /* Move archive descriptor by COUNT records worth. If COUNT is positive we move forward, else we move negative. If it's a tape, @@ -294,7 +294,7 @@ delete_archive_members (void) set_next_block_after (current_header); blocks_to_skip = (current_stat_info.stat.st_size + BLOCKSIZE - 1) / BLOCKSIZE; - + while (record_end - current_block <= blocks_to_skip) { blocks_to_skip -= (record_end - current_block);