diff options
author | kientzle <kientzle@FreeBSD.org> | 2004-08-07 19:21:18 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2004-08-07 19:21:18 +0000 |
commit | 42609f208c42763fa511ec4e8a440b74bfd3e0d8 (patch) | |
tree | 1947f96c52f6fcd2bc332be085d3a2ba07161fca /lib/libarchive/archive_write_set_compression_gzip.c | |
parent | 1ce8146dd9103f4dd0c4011cd2351aedea143f4a (diff) | |
download | FreeBSD-src-42609f208c42763fa511ec4e8a440b74bfd3e0d8.zip FreeBSD-src-42609f208c42763fa511ec4e8a440b74bfd3e0d8.tar.gz |
Don't forget to count the end-of-file padding as part of the finished
file size.
Diffstat (limited to 'lib/libarchive/archive_write_set_compression_gzip.c')
-rw-r--r-- | lib/libarchive/archive_write_set_compression_gzip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libarchive/archive_write_set_compression_gzip.c b/lib/libarchive/archive_write_set_compression_gzip.c index ca55410..003cf2b 100644 --- a/lib/libarchive/archive_write_set_compression_gzip.c +++ b/lib/libarchive/archive_write_set_compression_gzip.c @@ -308,6 +308,7 @@ archive_compressor_gzip_finish(struct archive *a) /* Write the last block */ ret = (a->client_writer)(a, a->client_data, state->compressed, block_length); + a->raw_position += ret; /* Cleanup: shut down compressor, release memory, etc. */ cleanup: |