From: uid65697 Date: Thu, 25 Dec 2003 10:19:12 +0000 (+0000) Subject: (print_header): Use archive_file_size member when printing real file size. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=50b2227279c0094f4ed42c747c501c9dc8115526;p=chaz%2Ftar (print_header): Use archive_file_size member when printing real file size. --- diff --git a/src/list.c b/src/list.c index cb14c79..77dce55 100644 --- a/src/list.c +++ b/src/list.c @@ -1096,7 +1096,8 @@ print_header (struct tar_stat_info *st, off_t block_ordinal) uintbuf)); break; default: - strcpy (size, STRINGIFY_BIGINT (st->stat.st_size, uintbuf)); + /* st->stat.st_size keeps stored file size */ + strcpy (size, STRINGIFY_BIGINT (st->archive_file_size, uintbuf)); break; }