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. 09 7月, 2012 3 次提交
  3. 07 7月, 2012 2 次提交
  4. 10 6月, 2012 4 次提交
  5. 04 6月, 2012 2 次提交
    • M
      f947435b
    • M
      Use _snprintf for snprinf in Microsoft C. · 25e4a3da
      Mark Adler 提交于
      More than a decade later, Microsoft C does not support the C99
      standard.  It's good that _snprintf has a different name, since it
      does not guarantee that the result is null terminated, as does
      snprintf.  However where _snprintf is used under Microsoft C, the
      destination string is assured to be long enough, so this will not
      be a problem.  This occurs in two places, both in gzlib.c.  Where
      sprintf functionality is needed by gzprintf, vsnprintf is used in
      the case of Microsoft C.
      25e4a3da
  6. 03 6月, 2012 1 次提交
  7. 27 5月, 2012 1 次提交
  8. 23 5月, 2012 1 次提交
  9. 21 5月, 2012 1 次提交
  10. 18 5月, 2012 1 次提交
  11. 04 5月, 2012 1 次提交
  12. 03 5月, 2012 4 次提交
  13. 02 5月, 2012 1 次提交
  14. 30 4月, 2012 4 次提交
  15. 23 4月, 2012 3 次提交
  16. 01 4月, 2012 1 次提交
  17. 27 3月, 2012 1 次提交
  18. 23 3月, 2012 1 次提交
  19. 19 3月, 2012 4 次提交
  20. 18 3月, 2012 3 次提交