mirror of
https://github.com/sheumann/hush.git
synced 2024-11-08 11:04:32 +00:00
71cfbce655
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> |
||
---|---|---|
.. | ||
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 | ||
Kbuild.src | ||
lzop.c | ||
rpm2cpio.c | ||
rpm.c | ||
rpm.h | ||
tar.c | ||
unzip.c |