Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Oct 4, 2015
  1. Use a consistent and more modern approach to not use a parameter.

    A remarkably creative and diverse set of approaches to letting the
    compiler know that opaque was being used when it wasn't is changed
    by this commit to the more standard (void)opaque.
Commits on Sep 16, 2015
Commits on Sep 6, 2015
  1. Avoid shifts of negative values inflateMark().

    The C standard says that bit shifts of negative integers is
    undefined.  This casts to unsigned values to assure a known
Commits on Aug 16, 2015
  1. Fix typo.

  2. Use const for static tree descriptions in deflate.

    This is in order to permit shared memory for these structures.
Commits on Aug 3, 2015
  1. Allow building zlib outside of the source directory.

    To build, simply run configure from the source directory by
    specifying its path.  That path will be used to find the source
    files.  The source directory will not be touched.  All new and
    modified files will be made in the current directory.  Discovered
    in the process that not all makes understand % or $<, and not all
    compilers understand -include or -I-.  This required a larger with explicit dependencies.
  2. Do not initialize unsigned with -1 in compress.c uncompr.c.

    Sun compiler complained.  Use (unsigned)0 - 1 instead.
Commits on Aug 2, 2015
  1. Align deflateParams() and its documentation in zlib.h.

    This updates the documentation to reflect the behavior of
    deflateParams() when it is not able to compress all of the input
    data provided so far due to insufficient output space.  It also
    assures that data provided is compressed before the parameter
    changes, even if at the beginning of the stream.
Commits on Jul 29, 2015
  1. Clarify deflateReset() documentation.

    It previously could have been misinterpreted to mean that parameter
    changes after deflateInit2() would be reversed, which is not the
  2. Fix inflateInit2() bug when windowBits is 16 or 32.

    A windowBits value of 0, 16, or 32 gets the window bits from the
    zlib header.  However there is no zlib header for 16, or for 32
    when the input is gzip.  This commit sets the window bits for
    inflate to 15 if a gzip stream is detected and windowBits was 16
    or 32.
Commits on Jul 8, 2015
  1. Put license in zlib.3 man page.

    Previously there was a confusing reference to a "distribution
Commits on Jul 6, 2015
Commits on Jul 5, 2015
  1. Avoid left shift of a negative value in flush rank calculation.

    The C standard permits an undefined result for a left shift of a
    negative value.
Commits on Jan 27, 2015
Commits on Dec 29, 2014
Commits on Jul 2, 2014
Commits on Apr 26, 2014
Commits on Apr 24, 2014
  1. Assure that gzoffset() is correct when appending.

    An open() with O_APPEND followed by an lseek() to determine the
    position will return zero for a non-empty file, even though the
    next write will start at the end of the file.  This commit works
    around that by doing an lseek() to the end when appending.
Commits on Aug 24, 2013
  1. Improve contrib/blast to return unused bytes. Fix the test code

    to report the count of unused bytes at the end correctly.  Add the
    ability to provide initial input to blast().
Commits on Aug 4, 2013
Commits on May 24, 2013
  1. Spacing cleanup.

Commits on May 3, 2013
Commits on Apr 29, 2013
  1. zlib 1.2.8

Commits on Apr 28, 2013
Something went wrong with that request. Please try again.