Commit b31d984 for zlib

commit b31d9844705b466564b9b44c586a435cd2c012a9
Author: Brandon Barrante <aetherai@aethersystems.net>
Date:   Sun Sep 6 20:26:43 2026 +0000

    Fix bug in successive gzwrite SEEK_CURs losing zero fill.

    Also avoids an incorrect gztell report after a deferred fill.

diff --git a/gzlib.c b/gzlib.c
index 7a37a96..67900b6 100644
--- a/gzlib.c
+++ b/gzlib.c
@@ -68,9 +68,9 @@ char ZLIB_INTERNAL *gz_strwinerror(DWORD error) {
 /* Reset gzip file state */
 local void gz_reset(gz_statep state) {
     state->x.have = 0;              /* no output data available */
+    state->past = 0;                /* have not read past end yet */
     if (state->mode == GZ_READ) {   /* for reading ... */
         state->eof = 0;             /* not at end of file */
-        state->past = 0;            /* have not read past end yet */
         state->how = LOOK;          /* look for gzip header */
         state->junk = -1;           /* mark first member */
     }