diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:33:23 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2011-09-09 23:33:23 -0700 |
commit | 59ca2179ff8ef92e9e8351a11f1a92e7138364c2 (patch) | |
tree | caeafc57710fb521543ce19743c3fb5a557ae68e | |
parent | 67cc20d0041a32bee12bd9eb20ae218f91b73f77 (diff) | |
download | zlib-1.2.4-pre2.tar.gz zlib-1.2.4-pre2.tar.bz2 zlib-1.2.4-pre2.zip |
zlib 1.2.4-pre2v1.2.4-pre2
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | Makefile.in | 9 | ||||
-rwxr-xr-x | configure | 3 | ||||
-rw-r--r-- | contrib/infback9/inftree9.c | 2 | ||||
-rw-r--r-- | contrib/inflate86/inffas86.c | 2 | ||||
-rw-r--r-- | contrib/masmx86/match686.obj | bin | 3507 -> 0 bytes | |||
-rw-r--r-- | gzwrite.c | 2 | ||||
-rw-r--r-- | inftrees.c | 2 | ||||
-rw-r--r-- | make_vms.com | 2 | ||||
-rw-r--r-- | win32/zlib.def | 6 | ||||
-rw-r--r-- | zlib.3 | 2 | ||||
-rw-r--r-- | zlib.3.pdf | bin | 8687 -> 8689 bytes | |||
-rw-r--r-- | zlib.h | 2 |
14 files changed, 22 insertions, 19 deletions
@@ -1,7 +1,7 @@ | |||
1 | 1 | ||
2 | ChangeLog file for zlib | 2 | ChangeLog file for zlib |
3 | 3 | ||
4 | Changes in 1.2.4 (11 Mar 2010) | 4 | Changes 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 | ||
29 | Changes in 1.2.3.9 (21 Feb 2010) | 34 | Changes in 1.2.3.9 (21 Feb 2010) |
30 | - Expunge gzio.c | 35 | - Expunge gzio.c |
@@ -1,5 +1,5 @@ | |||
1 | all: | 1 | all: |
2 | -@echo "Use ./configure first. Thank you." | 2 | -@echo "Please use ./configure first. Thank you." |
3 | 3 | ||
4 | distclean: | 4 | distclean: |
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 | |||
187 | uninstall: | 188 | uninstall: |
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 | |||
218 | distclean: clean zconf docs | 219 | distclean: 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 | ||
@@ -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. |
219 | else | 222 | else |
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 | |||
@@ -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); |
@@ -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 |
@@ -1,4 +1,4 @@ | |||
1 | .TH ZLIB 3 "11 March 2010" | 1 | .TH ZLIB 3 "13 March 2010" |
2 | .SH NAME | 2 | .SH NAME |
3 | zlib \- compression/decompression library | 3 | zlib \- compression/decompression library |
4 | .SH SYNOPSIS | 4 | .SH SYNOPSIS |
Binary files differ | |||
@@ -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 | ||