Skip to content
Snippets Groups Projects
  1. Apr 14, 2019
  2. Oct 13, 2017
  3. Feb 16, 2017
  4. Jan 15, 2017
  5. Jan 03, 2017
  6. Jan 01, 2017
  7. Dec 31, 2016
  8. Dec 05, 2016
  9. Dec 04, 2016
  10. Oct 12, 2016
  11. Apr 05, 2016
  12. Jul 29, 2015
  13. Jul 06, 2015
  14. Apr 14, 2013
  15. Mar 25, 2013
  16. Mar 24, 2013
  17. Mar 23, 2013
  18. Oct 02, 2012
  19. Sep 30, 2012
    • Mark Adler's avatar
      Fix bug where gzopen(), gzclose() would write an empty file. · 0cf495a1
      Mark Adler authored
      A gzopen() to write (mode "w") followed immediately by a gzclose()
      would output an empty zero-length file.  What it should do is write
      an empty gzip file, with the gzip header, empty deflate content,
      and gzip trailer totalling 20 bytes.  This fixes it to do that.
      0cf495a1
  20. Aug 24, 2012
    • Mark Adler's avatar
      Fix unintialized value bug in gzputc() introduced by const patches. · aa566e86
      Mark Adler authored
      Avoid the use of an uninitialized value when the write buffers have
      not been initialized.  A recent change to avoid the use of strm->
      next_in in order to resolve some const conflicts added the use of
      state->in in its place.  This patch avoids the use of state->in
      when it is not initialized.  Nothing bad would actually happen,
      since two variables set to the same unintialized value are
      subtracted.  However valgrind was rightly complaining.  So this
      fixes that.
      aa566e86
  21. Aug 13, 2012
    • Mark Adler's avatar
      Clean up the usage of z_const and respect const usage within zlib. · 62d6112a
      Mark Adler authored
      This patch allows zlib to compile cleanly with the -Wcast-qual gcc
      warning enabled, but only if ZLIB_CONST is defined, which adds
      const to next_in and msg in z_stream and in the in_func prototype.
      A --const option is added to ./configure which adds -DZLIB_CONST
      to the compile flags, and adds -Wcast-qual to the compile flags
      when ZLIBGCCWARN is set in the environment.
      62d6112a
  22. Mar 03, 2012
  23. Feb 02, 2012
    • Mark Adler's avatar
      Put gzflags() functionality back in zutil.c. · 55b8b5fe
      Mark Adler authored
      gzflags() was put in gzwrite.c in order to be compiled exactly the
      same as gzprintf(), so that it was guaranteed to return the correct
      information.  However that causes a static linkage to zlib to bring
      in many routines that are often not used.  All that is required to
      duplicate the compilation environment of gzprintf() is to include
      gzguts.h.  So that is now done in zutil.c to assure that the correct
      flags are returned.
      55b8b5fe
  24. Jan 29, 2012
  25. Dec 14, 2011
    • Mark Adler's avatar
      Avoid use of Z_BUF_ERROR in gz* functions except for premature EOF. · 850a198f
      Mark Adler authored
      Z_BUF_ERROR was also being used for an unsuccessful gzungetc and for buffer
      lengths that didn't fit in an int.  Those uses were changed to Z_DATA_ERROR
      in order to assure that Z_BUF_ERROR occurs only when a premature end of
      input occurs, indicating that gzclearerr() can be used.
      850a198f
  26. Dec 11, 2011
  27. Oct 02, 2011
  28. Oct 01, 2011
  29. Sep 27, 2011
  30. Sep 11, 2011
  31. Sep 10, 2011
Loading