Wolfgang Formann
2018-03-25 08:42:42 UTC
Hello!
I am using gzip 1.6 from openSUSE Leap 42.3 with latest patches
$ file /usr/bin/gzip
/usr/bin/gzip: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter
/lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.0.0, BuildID[sha1]=7103d56e17e6f81a52db927e393dce601c3af0e1, stripped
There is a compressed file available at https://data.dnb.de/opendata/GND.rdf.gz which has a size of 1.232.465.678 bytes.
Uncompressed it will have a size of 19.465.374.298
The problem is:
$ gzip -l GND.rdf.gz
compressed uncompressed ratio uncompressed_name
1232465678 2285505114 46.1% GND.rdf
This number 2285505114 is actually the lower 32 bits of the real size 19GB.
$ echo "19465374298-16*1024*1024*1024" | bc
2285505114
Such a behaviour is okay for 32-bit software, 64-bit should show correct numbers.
Thanks
Wolfgang
I am using gzip 1.6 from openSUSE Leap 42.3 with latest patches
$ file /usr/bin/gzip
/usr/bin/gzip: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter
/lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.0.0, BuildID[sha1]=7103d56e17e6f81a52db927e393dce601c3af0e1, stripped
There is a compressed file available at https://data.dnb.de/opendata/GND.rdf.gz which has a size of 1.232.465.678 bytes.
Uncompressed it will have a size of 19.465.374.298
The problem is:
$ gzip -l GND.rdf.gz
compressed uncompressed ratio uncompressed_name
1232465678 2285505114 46.1% GND.rdf
This number 2285505114 is actually the lower 32 bits of the real size 19GB.
$ echo "19465374298-16*1024*1024*1024" | bc
2285505114
Such a behaviour is okay for 32-bit software, 64-bit should show correct numbers.
Thanks
Wolfgang