1. 13 8月, 2012 1 次提交
    • M
      Clean up the usage of z_const and respect const usage within zlib. · 62d6112a
      Mark Adler 提交于
      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
  2. 04 3月, 2012 1 次提交
  3. 03 3月, 2012 1 次提交
  4. 02 2月, 2012 1 次提交
    • M
      Put gzflags() functionality back in zutil.c. · 55b8b5fe
      Mark Adler 提交于
      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
  5. 30 1月, 2012 2 次提交
  6. 14 12月, 2011 1 次提交
    • M
      Avoid use of Z_BUF_ERROR in gz* functions except for premature EOF. · 850a198f
      Mark Adler 提交于
      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
  7. 11 12月, 2011 1 次提交
  8. 03 10月, 2011 2 次提交
  9. 01 10月, 2011 1 次提交
  10. 27 9月, 2011 1 次提交
  11. 12 9月, 2011 1 次提交
  12. 10 9月, 2011 7 次提交