bug#29089: Truncated size of big file

2017-10-31 Thread Alex Peshkoff
Before decompressing a copy of database I've decided to take a look at it's size: localhost stg # gunzip -l SWHTOROLT_20171019.GBK.gz compressed    uncompressed  ratio uncompressed_name 3645968323  1782666240 -104.5% SWHTOROLT_20171019.GBK uncompressed is reported

bug#29089: Truncated size of big file

2017-10-31 Thread Mark Adler
Alex, This is inherent in the gzip format, and is not really a bug in gzip. (Though gzip could notice the problem and not display a large negative compression ratio.) The gzip format stores the uncompressed length at the end using four bytes, which can only represent up to 2^32-1. So what you