hush/archival
Natanael Copa 71cfbce655 gzip: fix compression level bug. Closes 9131
fix broken logic to get the gzip_level_config value from options -1 to
-9.

This fixes an off-by-one bug that caused gzip -9 output bigger files
than the other compression levels.

It fixes so that compression level 1 to 3 are actually mapped to level 4
as comments say.

It also fixes that levels -4 to -9 is mapped to correct level and avoids
out-of-bounds access.

Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2016-08-15 01:26:28 +02:00
..
libarchive
ar.c
bbunzip_test2.sh
bbunzip_test3.sh
bbunzip_test.sh
bbunzip.c
bzip2.c
Config.src
cpio.c
dpkg_deb.c
dpkg.c
gzip.c gzip: fix compression level bug. Closes 9131 2016-08-15 01:26:28 +02:00
Kbuild.src
lzop.c
rpm2cpio.c
rpm.c
rpm.h
tar.c
unzip.c