]> Dogcows Code - chaz/tar/commitdiff
(print_header): Use archive_file_size member when printing real file size.
authoruid65697 <uid65697>
Thu, 25 Dec 2003 10:19:12 +0000 (10:19 +0000)
committeruid65697 <uid65697>
Thu, 25 Dec 2003 10:19:12 +0000 (10:19 +0000)
src/list.c

index cb14c79bb8ee01240844e0931185e916f9d4903d..77dce5507215fc6875c0de0e047045bc362f85d3 100644 (file)
@@ -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;
        }
 
This page took 0.025285 seconds and 4 git commands to generate.