Commit c3f90a4 for zlib
commit c3f90a46c95b036707386deec0f9e50ceaa585af
Author: Mark Adler <git@madler.net>
Date: Sun Oct 25 20:50:07 2026 -0700
Adjust some source line lengths.
diff --git a/deflate.c b/deflate.c
index daa16e1..6f25c31 100644
--- a/deflate.c
+++ b/deflate.c
@@ -2028,7 +2028,8 @@ local block_state deflate_slow(deflate_state *s, int flush) {
uInt max_insert = s->strstart + s->lookahead - MIN_MATCH;
/* Do not insert strings in hash table beyond this. */
- check_match(s, s->strstart - 1, s->prev_match, (int)s->prev_length);
+ check_match(s, s->strstart - 1, s->prev_match,
+ (int)s->prev_length);
_tr_tally_dist(s, s->strstart - 1 - s->prev_match,
s->prev_length - MIN_MATCH, bflush);
diff --git a/gzread.c b/gzread.c
index 2785c6c..b95dec6 100644
--- a/gzread.c
+++ b/gzread.c
@@ -495,7 +495,8 @@ z_size_t ZEXPORT gzfread(voidp buf, z_size_t size, z_size_t nitems,
len = nitems * size;
if (size && len / size != nitems) {
if (state->err == Z_OK || state->err == Z_BUF_ERROR)
- gz_error(state, Z_STREAM_ERROR, "request does not fit in a size_t");
+ gz_error(state, Z_STREAM_ERROR,
+ "request does not fit in a size_t");
return 0;
}
diff --git a/gzwrite.c b/gzwrite.c
index 27019b8..d99e570 100644
--- a/gzwrite.c
+++ b/gzwrite.c
@@ -385,9 +385,10 @@ int ZEXPORT gzputs(gzFile file, const char *s) {
return len && put == 0 ? -1 : (int)put;
}
-#if (((!defined(STDC) && !defined(Z_HAVE_STDARG_H)) || !defined(NO_vsnprintf)) && \
- (defined(STDC) || defined(Z_HAVE_STDARG_H) || !defined(NO_snprintf))) || \
- defined(ZLIB_INSECURE)
+#if (((!defined(STDC) && !defined(Z_HAVE_STDARG_H)) || \
+ !defined(NO_vsnprintf)) && \
+ (defined(STDC) || defined(Z_HAVE_STDARG_H) || \
+ !defined(NO_snprintf))) || defined(ZLIB_INSECURE)
/* If the second half of the input buffer is occupied, write out the contents.
If there is any input remaining due to a non-blocking stall on write, move
it to the start of the buffer. Return true if this did not open up the