Restore definition of TOO_FAR in deflate.c

This commit is contained in:
Glenn Randers-Pehrson glennrp@comcast.net
2009-04-29 09:18:07 -05:00
parent fbcf0b5889
commit 930d1b7ea6
2 changed files with 10 additions and 0 deletions

View File

@@ -1,5 +1,10 @@
Change log:
Version 1.6.17 (built with libpng-1.2.35 and zlib-1.2.3.2)
Defined TOO_FAR == 32767 in deflate.c (again). The definition
has continually been inadvertently omitted during zlib updates
since pngcrush version 1.6.4.
Version 1.6.16 (built with libpng-1.2.35 and zlib-1.2.3.2)
Added -newtimestamp and -oldtimestamp options and changed
default condition to timestamping the output file with

View File

@@ -105,6 +105,11 @@ local void check_match OF((deflate_state *s, IPos start, IPos match,
#define NIL 0
/* Tail of hash chains */
#ifndef TOO_FAR
#define TOO_FAR 32767 /* pngcrush mod */
#endif
#ifndef TOO_FAR
# define TOO_FAR 4096
#endif