Put gzflags() functionality back in zutil.c.
authorMark Adler <madler@alumni.caltech.edu>
Thu, 2 Feb 2012 07:25:34 +0000 (23:25 -0800)
committerMark Adler <madler@alumni.caltech.edu>
Thu, 2 Feb 2012 07:25:34 +0000 (23:25 -0800)
commit55b8b5fec16503cb9ce26074f600a1d7b426a0cc
tree7e14662a33ffd8141e9a794329aa0a731250f486
parenta8d23bb675e05cfc0cc70ddc8ea03dbbf0e49fb8
Put gzflags() functionality back in zutil.c.

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.
12 files changed:
as400/bndsrc
as400/zlib.inc
contrib/vstudio/vc10/zlibvc.def
contrib/vstudio/vc9/zlibvc.def
gzwrite.c
win32/zlib.def
zconf.h
zconf.h.cmakein
zconf.h.in
zlib.h
zlib.map
zutil.c