summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--Makefile2
-rw-r--r--Makefile.in9
-rwxr-xr-xconfigure3
-rw-r--r--contrib/infback9/inftree9.c2
-rw-r--r--contrib/inflate86/inffas86.c2
-rw-r--r--contrib/masmx86/match686.objbin3507 -> 0 bytes
-rw-r--r--gzwrite.c2
-rw-r--r--inftrees.c2
-rw-r--r--make_vms.com2
-rw-r--r--win32/zlib.def6
-rw-r--r--zlib.32
-rw-r--r--zlib.3.pdfbin8687 -> 8689 bytes
-rw-r--r--zlib.h2
14 files changed, 22 insertions, 19 deletions
diff --git a/ChangeLog b/ChangeLog
index 8b7afd1..1dea1d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
1 1
2 ChangeLog file for zlib 2 ChangeLog file for zlib
3 3
4Changes in 1.2.4 (11 Mar 2010) 4Changes in 1.2.4 (13 Mar 2010)
5- Fix VER3 extraction in configure for no fourth subversion 5- Fix VER3 extraction in configure for no fourth subversion
6- Update zlib.3, add docs to Makefile.in to make .pdf out of it 6- Update zlib.3, add docs to Makefile.in to make .pdf out of it
7- Add zlib.3.pdf to distribution 7- Add zlib.3.pdf to distribution
@@ -25,6 +25,11 @@ Changes in 1.2.4 (11 Mar 2010)
25- Update win32/Makefile.msc, add ZLIB_VER_SUBREVISION [Rowe] 25- Update win32/Makefile.msc, add ZLIB_VER_SUBREVISION [Rowe]
26- Fix memory leaks in gzclose_r() and gzclose_w(), file leak in gz_open() 26- Fix memory leaks in gzclose_r() and gzclose_w(), file leak in gz_open()
27- Add contrib/gcc_gvmat64 for longest_match and inflate_fast [Vollant] 27- Add contrib/gcc_gvmat64 for longest_match and inflate_fast [Vollant]
28- Remove *64 functions from win32/zlib.def (they're not 64-bit yet)
29- Fix bug in void-returning vsprintf() case in gzwrite.c
30- Fix name change from inflate.h in contrib/inflate86/inffas86.c
31- Check if temporary file exists before removing in make_vms.com [Zinser]
32- Fix make install and uninstall for --static option
28 33
29Changes in 1.2.3.9 (21 Feb 2010) 34Changes in 1.2.3.9 (21 Feb 2010)
30- Expunge gzio.c 35- Expunge gzio.c
diff --git a/Makefile b/Makefile
index 3839b42..6bba86c 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
1all: 1all:
2 -@echo "Use ./configure first. Thank you." 2 -@echo "Please use ./configure first. Thank you."
3 3
4distclean: 4distclean:
5 make -f Makefile.in distclean 5 make -f Makefile.in distclean
diff --git a/Makefile.in b/Makefile.in
index efaec6f..5a2300a 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -164,9 +164,10 @@ install-libs: $(LIBS)
164 -@if [ ! -d $(DESTDIR)$(man3dir) ]; then mkdir -p $(DESTDIR)$(man3dir); fi 164 -@if [ ! -d $(DESTDIR)$(man3dir) ]; then mkdir -p $(DESTDIR)$(man3dir); fi
165 -@if [ ! -d $(DESTDIR)$(pkgconfigdir) ]; then mkdir -p $(DESTDIR)$(pkgconfigdir); fi 165 -@if [ ! -d $(DESTDIR)$(pkgconfigdir) ]; then mkdir -p $(DESTDIR)$(pkgconfigdir); fi
166 cp $(LIBS) $(DESTDIR)$(libdir) 166 cp $(LIBS) $(DESTDIR)$(libdir)
167 cd $(DESTDIR)$(libdir); chmod 755 $(SHAREDLIB) ; chmod u=rw,go=r $(STATICLIB) 167 cd $(DESTDIR)$(libdir); chmod u=rw,go=r $(STATICLIB)
168 -@(cd $(DESTDIR)$(libdir); $(RANLIB) libz.a || true) >/dev/null 2>&1 168 -@(cd $(DESTDIR)$(libdir); $(RANLIB) libz.a || true) >/dev/null 2>&1
169 cd $(DESTDIR)$(libdir); if test -f $(SHAREDLIBV); then \ 169 -@cd $(DESTDIR)$(libdir); if test "$(SHAREDLIBV)" -a -f $(SHAREDLIBV); then \
170 chmod 755 $(SHAREDLIBV); \
170 rm -f $(SHAREDLIB) $(SHAREDLIBM); \ 171 rm -f $(SHAREDLIB) $(SHAREDLIBM); \
171 ln -s $(SHAREDLIBV) $(SHAREDLIB); \ 172 ln -s $(SHAREDLIBV) $(SHAREDLIB); \
172 ln -s $(SHAREDLIBV) $(SHAREDLIBM); \ 173 ln -s $(SHAREDLIBV) $(SHAREDLIBM); \
@@ -187,7 +188,7 @@ install: install-libs
187uninstall: 188uninstall:
188 cd $(DESTDIR)$(includedir); rm -f zlib.h zconf.h 189 cd $(DESTDIR)$(includedir); rm -f zlib.h zconf.h
189 cd $(DESTDIR)$(libdir); rm -f libz.a; \ 190 cd $(DESTDIR)$(libdir); rm -f libz.a; \
190 if test -f $(SHAREDLIBV); then \ 191 if test "$(SHAREDLIBV)" -a -f $(SHAREDLIBV); then \
191 rm -f $(SHAREDLIBV) $(SHAREDLIB) $(SHAREDLIBM); \ 192 rm -f $(SHAREDLIBV) $(SHAREDLIB) $(SHAREDLIBM); \
192 fi 193 fi
193 cd $(DESTDIR)$(man3dir); rm -f zlib.3 194 cd $(DESTDIR)$(man3dir); rm -f zlib.3
@@ -218,7 +219,7 @@ maintainer-clean: distclean
218distclean: clean zconf docs 219distclean: clean zconf docs
219 rm -f Makefile zlib.pc 220 rm -f Makefile zlib.pc
220 -@rm -f .DS_Store 221 -@rm -f .DS_Store
221 -@printf 'all:\n\t-@echo "Use ./configure first. Thank you."\n' > Makefile 222 -@printf 'all:\n\t-@echo "Please use ./configure first. Thank you."\n' > Makefile
222 -@printf '\ndistclean:\n\tmake -f Makefile.in distclean\n' >> Makefile 223 -@printf '\ndistclean:\n\tmake -f Makefile.in distclean\n' >> Makefile
223 -@touch -r Makefile.in Makefile 224 -@touch -r Makefile.in Makefile
224 225
diff --git a/configure b/configure
index d3ee355..672fd37 100755
--- a/configure
+++ b/configure
@@ -215,6 +215,9 @@ if test $shared -eq 0; then
215 LDSHARED="$CC" 215 LDSHARED="$CC"
216 ALL="static" 216 ALL="static"
217 TEST="all teststatic" 217 TEST="all teststatic"
218 SHAREDLIB=""
219 SHAREDLIBV=""
220 SHAREDLIBM=""
218 echo Building static library $STATICLIB version $VER with $CC. 221 echo Building static library $STATICLIB version $VER with $CC.
219else 222else
220 ALL="static shared" 223 ALL="static shared"
diff --git a/contrib/infback9/inftree9.c b/contrib/infback9/inftree9.c
index 8d15fdc..4e04db9 100644
--- a/contrib/infback9/inftree9.c
+++ b/contrib/infback9/inftree9.c
@@ -64,7 +64,7 @@ unsigned short FAR *work;
64 static const unsigned short lext[31] = { /* Length codes 257..285 extra */ 64 static const unsigned short lext[31] = { /* Length codes 257..285 extra */
65 128, 128, 128, 128, 128, 128, 128, 128, 129, 129, 129, 129, 65 128, 128, 128, 128, 128, 128, 128, 128, 129, 129, 129, 129,
66 130, 130, 130, 130, 131, 131, 131, 131, 132, 132, 132, 132, 66 130, 130, 130, 130, 131, 131, 131, 131, 132, 132, 132, 132,
67 133, 133, 133, 133, 144, 66, 199}; 67 133, 133, 133, 133, 144, 198, 71};
68 static const unsigned short dbase[32] = { /* Distance codes 0..31 base */ 68 static const unsigned short dbase[32] = { /* Distance codes 0..31 base */
69 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 69 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49,
70 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 70 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073,
diff --git a/contrib/inflate86/inffas86.c b/contrib/inflate86/inffas86.c
index 6da7635..7292f67 100644
--- a/contrib/inflate86/inffas86.c
+++ b/contrib/inflate86/inffas86.c
@@ -113,7 +113,7 @@ unsigned start; /* inflate()'s starting value for strm->avail_out */
113 ar.beg = ar.out - (start - strm->avail_out); 113 ar.beg = ar.out - (start - strm->avail_out);
114 ar.end = ar.out + (strm->avail_out - PAD_AVAIL_OUT); 114 ar.end = ar.out + (strm->avail_out - PAD_AVAIL_OUT);
115 ar.wsize = state->wsize; 115 ar.wsize = state->wsize;
116 ar.write = state->write; 116 ar.write = state->wnext;
117 ar.window = state->window; 117 ar.window = state->window;
118 ar.hold = state->hold; 118 ar.hold = state->hold;
119 ar.bits = state->bits; 119 ar.bits = state->bits;
diff --git a/contrib/masmx86/match686.obj b/contrib/masmx86/match686.obj
deleted file mode 100644
index 2e4631f..0000000
--- a/contrib/masmx86/match686.obj
+++ /dev/null
Binary files differ
diff --git a/gzwrite.c b/gzwrite.c
index 427840d..e8defc6 100644
--- a/gzwrite.c
+++ b/gzwrite.c
@@ -318,7 +318,7 @@ int ZEXPORTVA gzprintf (gzFile file, const char *format, ...)
318# ifdef HAS_vsprintf_void 318# ifdef HAS_vsprintf_void
319 (void)vsprintf(state->in, format, va); 319 (void)vsprintf(state->in, format, va);
320 va_end(va); 320 va_end(va);
321 for (len = 0; len < state->in; len++) 321 for (len = 0; len < size; len++)
322 if (state->in[len] == 0) break; 322 if (state->in[len] == 0) break;
323# else 323# else
324 len = vsprintf(state->in, format, va); 324 len = vsprintf(state->in, format, va);
diff --git a/inftrees.c b/inftrees.c
index 3ee7d06..5bfc691 100644
--- a/inftrees.c
+++ b/inftrees.c
@@ -62,7 +62,7 @@ unsigned short FAR *work;
62 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0}; 62 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0};
63 static const unsigned short lext[31] = { /* Length codes 257..285 extra */ 63 static const unsigned short lext[31] = { /* Length codes 257..285 extra */
64 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 64 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18,
65 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 66, 199}; 65 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 198, 71};
66 static const unsigned short dbase[32] = { /* Distance codes 0..29 base */ 66 static const unsigned short dbase[32] = { /* Distance codes 0..29 base */
67 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 67 1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193,
68 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 68 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145,
diff --git a/make_vms.com b/make_vms.com
index deee87f..6576490 100644
--- a/make_vms.com
+++ b/make_vms.com
@@ -134,7 +134,7 @@ $ write aconf "#define ftello64 ftell"
134$ write aconf "#endif" 134$ write aconf "#endif"
135$ close aconf_in 135$ close aconf_in
136$ close aconf 136$ close aconf
137$ delete 'th';* 137$ if f$search("''th'") .nes. "" then delete 'th';*
138$! Build the thing plain or with mms 138$! Build the thing plain or with mms
139$! 139$!
140$ write sys$output "Compiling Zlib sources ..." 140$ write sys$output "Compiling Zlib sources ..."
diff --git a/win32/zlib.def b/win32/zlib.def
index d247b79..03df8bf 100644
--- a/win32/zlib.def
+++ b/win32/zlib.def
@@ -68,12 +68,6 @@ EXPORTS
68 inflateInit_ 68 inflateInit_
69 inflateInit2_ 69 inflateInit2_
70 inflateBackInit_ 70 inflateBackInit_
71 gzopen64
72 gzseek64
73 gztell64
74 gzoffset64
75 adler32_combine64
76 crc32_combine64
77 zError 71 zError
78 inflateSyncPoint 72 inflateSyncPoint
79 get_crc_table 73 get_crc_table
diff --git a/zlib.3 b/zlib.3
index 57f0307..c01df46 100644
--- a/zlib.3
+++ b/zlib.3
@@ -1,4 +1,4 @@
1.TH ZLIB 3 "11 March 2010" 1.TH ZLIB 3 "13 March 2010"
2.SH NAME 2.SH NAME
3zlib \- compression/decompression library 3zlib \- compression/decompression library
4.SH SYNOPSIS 4.SH SYNOPSIS
diff --git a/zlib.3.pdf b/zlib.3.pdf
index 3442d5b..1412154 100644
--- a/zlib.3.pdf
+++ b/zlib.3.pdf
Binary files differ
diff --git a/zlib.h b/zlib.h
index dfc0bba..1ad1ac3 100644
--- a/zlib.h
+++ b/zlib.h
@@ -1,5 +1,5 @@
1/* zlib.h -- interface of the 'zlib' general purpose compression library 1/* zlib.h -- interface of the 'zlib' general purpose compression library
2 version 1.2.3.9, Mar 11th, 2010 2 version 1.2.4, Mar 13th, 2010
3 3
4 Copyright (C) 1995-2010 Jean-loup Gailly and Mark Adler 4 Copyright (C) 1995-2010 Jean-loup Gailly and Mark Adler
5 5