Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-07-24 22:12:58 +0300
committerDenys Vlasenko <vda.linux@googlemail.com>2018-07-30 19:02:27 +0300
commitd674b2e2aeb10f0755a197084f962287740fbc50 (patch)
tree8c5f9a804fca5c0471d01308a550fcc2fb4bb3cb
parentabe8fc3663152dd5050c7025f897a758f32d0212 (diff)
gzip: unbreak FEATURE_GZIP_LEVELS, closes 11171
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--archival/gzip.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/archival/gzip.c b/archival/gzip.c
index c5a1fe9b4..74d5d685f 100644
--- a/archival/gzip.c
+++ b/archival/gzip.c
@@ -333,12 +333,6 @@ struct globals {
/* DECLARE(Pos, head, 1<<HASH_BITS); */
#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
unsigned max_chain_length;
unsigned max_lazy_match;
@@ -350,6 +344,12 @@ struct globals {
#define nice_match (G1.nice_match)
#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
* negative when the window is moved backwards.
*/