diff options
author | kientzle <kientzle@FreeBSD.org> | 2004-04-28 04:41:27 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2004-04-28 04:41:27 +0000 |
commit | 4f6d19ce20f8f561fa9e1fe7261d5a9991cd68de (patch) | |
tree | bde271e0176f2528e906220fb052eacb00d57033 /lib/libarchive/archive_read_support_compression_gzip.c | |
parent | d6382fb16020a26e25981a0a7a51cb75aa79485e (diff) | |
download | FreeBSD-src-4f6d19ce20f8f561fa9e1fe7261d5a9991cd68de.zip FreeBSD-src-4f6d19ce20f8f561fa9e1fe7261d5a9991cd68de.tar.gz |
Add statistics: track offset in compressed and uncompressed archive,
provide an interface for the client to query this information.
Diffstat (limited to 'lib/libarchive/archive_read_support_compression_gzip.c')
-rw-r--r-- | lib/libarchive/archive_read_support_compression_gzip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libarchive/archive_read_support_compression_gzip.c b/lib/libarchive/archive_read_support_compression_gzip.c index ba1adec..c7622a3 100644 --- a/lib/libarchive/archive_read_support_compression_gzip.c +++ b/lib/libarchive/archive_read_support_compression_gzip.c @@ -335,6 +335,7 @@ drive_decompressor(struct archive *a, struct private_data *state) a->compression_name); return (ARCHIVE_FATAL); } + a->raw_position += ret; state->stream.avail_in = ret; } |