From 50b2227279c0094f4ed42c747c501c9dc8115526 Mon Sep 17 00:00:00 2001 From: uid65697 Date: Thu, 25 Dec 2003 10:19:12 +0000 Subject: [PATCH] (print_header): Use archive_file_size member when printing real file size. --- src/list.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.44.0