]> git.lizzy.rs Git - zlib.git/commitdiff
zlib 1.2.4-pre2 v1.2.4-pre2
authorMark Adler <madler@alumni.caltech.edu>
Sat, 10 Sep 2011 06:33:23 +0000 (23:33 -0700)
committerMark Adler <madler@alumni.caltech.edu>
Sat, 10 Sep 2011 06:33:23 +0000 (23:33 -0700)
14 files changed:
ChangeLog
Makefile
Makefile.in
configure
contrib/infback9/inftree9.c
contrib/inflate86/inffas86.c
contrib/masmx86/match686.obj [deleted file]
gzwrite.c
inftrees.c
make_vms.com
win32/zlib.def
zlib.3
zlib.3.pdf
zlib.h

index 8b7afd182b33805fb815fc757b442503c9492b77..1dea1d0040baba3ff13670eba27458e6d6fac529 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,7 @@
 
                 ChangeLog file for zlib
 
-Changes in 1.2.4 (11 Mar 2010)
+Changes in 1.2.4 (13 Mar 2010)
 - Fix VER3 extraction in configure for no fourth subversion
 - Update zlib.3, add docs to Makefile.in to make .pdf out of it
 - Add zlib.3.pdf to distribution
@@ -25,6 +25,11 @@ Changes in 1.2.4 (11 Mar 2010)
 - Update win32/Makefile.msc, add ZLIB_VER_SUBREVISION [Rowe]
 - Fix memory leaks in gzclose_r() and gzclose_w(), file leak in gz_open()
 - Add contrib/gcc_gvmat64 for longest_match and inflate_fast [Vollant]
+- Remove *64 functions from win32/zlib.def (they're not 64-bit yet)
+- Fix bug in void-returning vsprintf() case in gzwrite.c
+- Fix name change from inflate.h in contrib/inflate86/inffas86.c
+- Check if temporary file exists before removing in make_vms.com [Zinser]
+- Fix make install and uninstall for --static option
 
 Changes in 1.2.3.9 (21 Feb 2010)
 - Expunge gzio.c
index 3839b42d5b476867426930c2304ece951cb96c0e..6bba86c73fca2abda416baa1a7cf883b3494fb29 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 all:
-       -@echo "Use ./configure first.  Thank you."
+       -@echo "Please use ./configure first.  Thank you."
 
 distclean:
        make -f Makefile.in distclean
index efaec6f6757bed065adee038b54dfa235f70a413..5a2300a8ccd31e72c02a7f5aadf357646d3018a6 100644 (file)
@@ -164,9 +164,10 @@ install-libs: $(LIBS)
        -@if [ ! -d $(DESTDIR)$(man3dir)      ]; then mkdir -p $(DESTDIR)$(man3dir); fi
        -@if [ ! -d $(DESTDIR)$(pkgconfigdir) ]; then mkdir -p $(DESTDIR)$(pkgconfigdir); fi
        cp $(LIBS) $(DESTDIR)$(libdir)
-       cd $(DESTDIR)$(libdir); chmod 755 $(SHAREDLIB) ; chmod u=rw,go=r $(STATICLIB)
+       cd $(DESTDIR)$(libdir); chmod u=rw,go=r $(STATICLIB)
        -@(cd $(DESTDIR)$(libdir); $(RANLIB) libz.a || true) >/dev/null 2>&1
-       cd $(DESTDIR)$(libdir); if test -f $(SHAREDLIBV); then \
+       -@cd $(DESTDIR)$(libdir); if test "$(SHAREDLIBV)" -a -f $(SHAREDLIBV); then \
+         chmod 755 $(SHAREDLIBV); \
          rm -f $(SHAREDLIB) $(SHAREDLIBM); \
          ln -s $(SHAREDLIBV) $(SHAREDLIB); \
          ln -s $(SHAREDLIBV) $(SHAREDLIBM); \
@@ -187,7 +188,7 @@ install: install-libs
 uninstall:
        cd $(DESTDIR)$(includedir); rm -f zlib.h zconf.h
        cd $(DESTDIR)$(libdir); rm -f libz.a; \
-       if test -f $(SHAREDLIBV); then \
+       if test "$(SHAREDLIBV)" -a -f $(SHAREDLIBV); then \
          rm -f $(SHAREDLIBV) $(SHAREDLIB) $(SHAREDLIBM); \
        fi
        cd $(DESTDIR)$(man3dir); rm -f zlib.3
@@ -218,7 +219,7 @@ maintainer-clean: distclean
 distclean: clean zconf docs
        rm -f Makefile zlib.pc
        -@rm -f .DS_Store
-       -@printf 'all:\n\t-@echo "Use ./configure first.  Thank you."\n' > Makefile
+       -@printf 'all:\n\t-@echo "Please use ./configure first.  Thank you."\n' > Makefile
        -@printf '\ndistclean:\n\tmake -f Makefile.in distclean\n' >> Makefile
        -@touch -r Makefile.in Makefile
 
index d3ee355c9639d21153d5bf02b96adba001b17af0..672fd3711de9da65cba39214908643676ac1e14a 100755 (executable)
--- a/configure
+++ b/configure
@@ -215,6 +215,9 @@ if test $shared -eq 0; then
   LDSHARED="$CC"
   ALL="static"
   TEST="all teststatic"
+  SHAREDLIB=""
+  SHAREDLIBV=""
+  SHAREDLIBM=""
   echo Building static library $STATICLIB version $VER with $CC.
 else
   ALL="static shared"
index 8d15fdc01f6c5a8b11ee12c1a1bba622f9dd0e9a..4e04db9b95ddae8df7ad3230192ab8a169490bd8 100644 (file)
@@ -64,7 +64,7 @@ unsigned short FAR *work;
     static const unsigned short lext[31] = { /* Length codes 257..285 extra */
         128, 128, 128, 128, 128, 128, 128, 128, 129, 129, 129, 129,
         130, 130, 130, 130, 131, 131, 131, 131, 132, 132, 132, 132,
-        133, 133, 133, 133, 144, 66, 199};
+        133, 133, 133, 133, 144, 198, 71};
     static const unsigned short dbase[32] = { /* Distance codes 0..31 base */
         1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49,
         65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073,
index 6da76358ccb273181f141dda117612d57ff82949..7292f67b753795a33aff274e4adcbf561f78c75c 100644 (file)
@@ -113,7 +113,7 @@ unsigned start;         /* inflate()'s starting value for strm->avail_out */
     ar.beg = ar.out - (start - strm->avail_out);
     ar.end = ar.out + (strm->avail_out - PAD_AVAIL_OUT);
     ar.wsize = state->wsize;
-    ar.write = state->write;
+    ar.write = state->wnext;
     ar.window = state->window;
     ar.hold = state->hold;
     ar.bits = state->bits;
diff --git a/contrib/masmx86/match686.obj b/contrib/masmx86/match686.obj
deleted file mode 100644 (file)
index 2e4631f..0000000
Binary files a/contrib/masmx86/match686.obj and /dev/null differ
index 427840d91cdd2750a2b1d3e85ab7c2791dd338e1..e8defc6887a186055f17597968c4fc5791332811 100644 (file)
--- a/gzwrite.c
+++ b/gzwrite.c
@@ -318,7 +318,7 @@ int ZEXPORTVA gzprintf (gzFile file, const char *format, ...)
 #  ifdef HAS_vsprintf_void
     (void)vsprintf(state->in, format, va);
     va_end(va);
-    for (len = 0; len < state->in; len++)
+    for (len = 0; len < size; len++)
         if (state->in[len] == 0) break;
 #  else
     len = vsprintf(state->in, format, va);
index 3ee7d06367f9f9411fa9b0e10d6d12ca320a8a99..5bfc691053420ff7d438a2833a40d0aa873548c6 100644 (file)
@@ -62,7 +62,7 @@ unsigned short FAR *work;
         35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0};
     static const unsigned short lext[31] = { /* Length codes 257..285 extra */
         16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18,
-        19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 66, 199};
+        19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 198, 71};
     static const unsigned short dbase[32] = { /* Distance codes 0..29 base */
         1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193,
         257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145,
index deee87f31594b58cfc78b09c9189052546432a37..6576490e651cfefec4a1c54bd6c1274e26335245 100644 (file)
@@ -134,7 +134,7 @@ $ write aconf "#define ftello64 ftell"
 $ write aconf "#endif"
 $ close aconf_in
 $ close aconf
-$ delete 'th';*
+$ if f$search("''th'") .nes. "" then delete 'th';*
 $! Build the thing plain or with mms
 $!
 $ write sys$output "Compiling Zlib sources ..."
index d247b7901342d51214a76bfc55263a83004fbbdd..03df8bf822aa1508de20b085e2893cbff99cab38 100644 (file)
@@ -68,12 +68,6 @@ EXPORTS
     inflateInit_
     inflateInit2_
     inflateBackInit_
-    gzopen64
-    gzseek64
-    gztell64
-    gzoffset64
-    adler32_combine64
-    crc32_combine64
     zError
     inflateSyncPoint
     get_crc_table
diff --git a/zlib.3 b/zlib.3
index 57f0307886e051893828405907587201ae051d02..c01df462cbe0deb3dc98ce317d850e464fccc2eb 100644 (file)
--- a/zlib.3
+++ b/zlib.3
@@ -1,4 +1,4 @@
-.TH ZLIB 3 "11 March 2010"
+.TH ZLIB 3 "13 March 2010"
 .SH NAME
 zlib \- compression/decompression library
 .SH SYNOPSIS
index 3442d5b7416c606f64df0217e08162fd1ebfbd83..14121546ad69db8b1264157ede93b9a053fda34b 100644 (file)
Binary files a/zlib.3.pdf and b/zlib.3.pdf differ
diff --git a/zlib.h b/zlib.h
index dfc0bba4e4d32a932f2f377adbca3211b759964b..1ad1ac37d95f438c1a3892c1c7837f425c88ada9 100644 (file)
--- a/zlib.h
+++ b/zlib.h
@@ -1,5 +1,5 @@
 /* zlib.h -- interface of the 'zlib' general purpose compression library
-  version 1.2.3.9, Mar 11th, 2010
+  version 1.2.4, Mar 13th, 2010
 
   Copyright (C) 1995-2010 Jean-loup Gailly and Mark Adler