gzip: unbreak FEATURE_GZIP_LEVELS, closes 11171
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
945e9b05c9
commit
81de30de05
@ -333,12 +333,6 @@ struct globals {
|
|||||||
/* DECLARE(Pos, head, 1<<HASH_BITS); */
|
/* DECLARE(Pos, head, 1<<HASH_BITS); */
|
||||||
#define head (G1.prev + WSIZE) /* hash head (see deflate.c) */
|
#define head (G1.prev + WSIZE) /* hash head (see deflate.c) */
|
||||||
|
|
||||||
/* =========================================================================== */
|
|
||||||
/* all members below are zeroed out in pack_gzip() for each next file */
|
|
||||||
|
|
||||||
uint32_t crc; /* shift register contents */
|
|
||||||
/*uint32_t *crc_32_tab;*/
|
|
||||||
|
|
||||||
#if ENABLE_FEATURE_GZIP_LEVELS
|
#if ENABLE_FEATURE_GZIP_LEVELS
|
||||||
unsigned max_chain_length;
|
unsigned max_chain_length;
|
||||||
unsigned max_lazy_match;
|
unsigned max_lazy_match;
|
||||||
@ -350,6 +344,12 @@ struct globals {
|
|||||||
#define nice_match (G1.nice_match)
|
#define nice_match (G1.nice_match)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* =========================================================================== */
|
||||||
|
/* all members below are zeroed out in pack_gzip() for each next file */
|
||||||
|
|
||||||
|
uint32_t crc; /* shift register contents */
|
||||||
|
/*uint32_t *crc_32_tab;*/
|
||||||
|
|
||||||
/* window position at the beginning of the current output block. Gets
|
/* window position at the beginning of the current output block. Gets
|
||||||
* negative when the window is moved backwards.
|
* negative when the window is moved backwards.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user