gzip/gzip-1.3.12-window-size.patch

13 lines
464 B
Diff

diff -ru gzip-1.3.12/gzip.c gzip-1.3.12-fix/gzip.c
--- gzip-1.3.12/gzip.c 2007-03-20 06:09:51.000000000 +0100
+++ gzip-1.3.12-fix/gzip.c 2007-04-18 22:40:11.000000000 +0200
@@ -170,7 +170,7 @@
DECLARE(uch, inbuf, INBUFSIZ +INBUF_EXTRA);
DECLARE(uch, outbuf, OUTBUFSIZ+OUTBUF_EXTRA);
DECLARE(ush, d_buf, DIST_BUFSIZE);
-DECLARE(uch, window, 2L*WSIZE);
+DECLARE(uch, window, 2L*WSIZE + 4096);
#ifndef MAXSEG_64K
DECLARE(ush, tab_prefix, 1L<<BITS);
#else