src/java.base/share/native/libzip/zlib/deflate.c

Print this page

        

*** 503,512 **** --- 503,514 ---- s = (deflate_state *)strm->state; s->pending = 0; s->pending_out = s->pending_buf; + s->high_water = 0; /* reset to its inital value 0 */ + if (s->wrap < 0) { s->wrap = -s->wrap; /* was made negative by deflate(..., Z_FINISH); */ } s->status = #ifdef GZIP