Home | History | Annotate | only in /src/lib/libz
History log of /src/lib/libz
RevisionDateAuthorComments
 1.7 14-Jan-2006  christos use zlib-1.2.3
 1.6 11-Mar-2002  fvdl Resolve (rcsid) conflicts.
 1.5 03-Jul-1999  simonb branches: 1.5.8;
Revert white space changes for imported sources.
 1.4 02-Jul-1999  simonb More trailing white space.
 1.3 01-Nov-1998  tron Resolve import conflicts.
 1.2 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.3 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.2 01-Nov-1998  tron Import zlib version 1.1.3.
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.5.8.1 20-Mar-2002  he Pull up revision 1.6 (requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.
 1.2 14-Jan-2006  christos use zlib-1.2.3
 1.1 11-Mar-2002  fvdl branches: 1.1.1;
Initial revision
 1.1.1.1 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.2 13-Sep-1996  cgd remove this file, since it's not particularly useful since we've removed
most of the files it mentions, and it doesn't really describe the rest.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.2 12-Sep-1996  gwr We do not use these.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.28 03-Jun-2023  lukem bsd.own.mk: rename GCC_NO_* to CC_WNO_*

Rename compiler-warning-disable variables from
GCC_NO_warning
to
CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
 1.27 21-Oct-2021  andvar fix various typos, mainly in comments, but also in man pages and log messages.
 1.26 26-Apr-2021  mrg use GCC_NO_IMPLICIT_FALLTHRU.
 1.25 29-Sep-2019  mrg convert HAVE_GCC == 7 to HAVE_GCC >= 7.
 1.24 04-Feb-2019  mrg - use -Wno-error=implicit-fallthrough with GCC7.
 1.23 10-Jan-2017  christos branches: 1.23.14;
Adapt to new zlib
 1.22 30-Jan-2014  wiz branches: 1.22.8;
Install a pkg-config file for zlib.
 1.21 21-Mar-2012  matt branches: 1.21.2;
These directories don't handle WARNS=5
 1.20 28-May-2007  tls branches: 1.20.34;
Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry. RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros. Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
 1.19 14-Jan-2006  christos use zlib-1.2.3
 1.18 03-Oct-2003  wiz Add zlib(3) provided by jmc@openbsd -- thank you!
 1.17 19-Aug-2002  lukem Explicitly move setting of NOxxx and USE_SHLIBDIR to the top of the
Makefile (before including <bsd.own.mk>)
 1.16 28-Dec-2001  lukem * Add user-controlled mk.conf variables
- SHLIBDIR Location to install shared libraries if ${USE_SHLIBDIR}
is "yes". Defaults to "/usr/lib".

- USE_SHLIBDIR If "yes", install shared libraries in ${SHLIBDIR}
instead of ${LIBDIR}. Defaults to "no".
Sets ${_LIBSODIR} to the appropriate value.
This may be set by individual Makefiles as well.

- SHLINKDIR Location of shared linker. Defaults to "/usr/libexec".
If != "/usr/libexec", change the dynamic-linker
encoded in shared programs

* Set USE_SHLIBDIR for libraries used by /bin and /sbin:
libc libcrypt libcrypto libedit libipsec libkvm libm libmi387
libtermcap libutil libz

* If ${_LIBSODIR} != ${LIBDIR}, add symlinks from ${LIBDIR}/${LIB}.so*
to ${_LIBSODIR}/${LIB}.so* for compatibility.

* Always install /sbin/init statically (for now)


The net effect of these changes depends on how the variables are set:

1.) If nothing is set or changed, there is no change from the
current behaviour:
- Static /bin, /sbin, and bits of /usr/*
- Dynamic rest
- Shared linker is /usr/libexec/ld*so

2.) If the following make variables are set:
LDSTATIC=
SHLINKDIR=/lib
SHLIBDIR=/lib
Then the behaviour becomes:
- Dynamic tools
- .so libraries used by /bin and /sbin are installed to /lib,
with symlinks from /usr/lib/lib*so to -> /lib/lib*so
where appropriate
- Shared linker is /lib/ld*so

3.) As per 2.), but add the following variable:
USE_SHLIBDIR=yes
This forces all .so's to be instaleld in /lib (with compat
symlinks), not just those tagged by their Makefiles to be.
Again, compat symlinks are installed
 1.15 12-Dec-2001  tv Readability cleanups; MKfoo=no -> NOfoo.
 1.14 26-Oct-1999  itojun make z_off_t into off_t, which used to be "long" by mistake.
backward compatibility functions are supplied.

XXX increase shlib major, or minor?
 1.13 09-Jul-1999  garbled branches: 1.13.2;
libz works much better when the examples aren't compiled into the
library. This caused severe pain with c++, as the example contained
a main().
 1.12 13-Feb-1999  lukem branches: 1.12.2;
convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
 1.11 01-Nov-1998  tron Resolve import conflicts.
 1.10 23-Oct-1997  lukem use CPPFLAGS instead of CFLAGS
 1.9 09-Oct-1997  lukem branches: 1.9.2;
- define WARNS?=1 in the top-level Makefile.inc, and don't define
anywhere else.
- for now, override WARNS=0 in librpcsvc and libwrap, until they're
cleaned up
- rcsid police

lib is now clean (except for librpcsvc and libwrap) on the i386, and
this should motivate the other ports to fix any other minor problems
that their compilers pick up that the i386 version doesn't.
 1.8 09-Oct-1997  lukem WARNSify
 1.7 25-May-1997  veego Remove the uneeded HDRS= line and add zconf.h to the INCS= line.
 1.6 13-May-1997  gwr Remove _ZLIB_PRIVATE and all related changes. The "exported" API
of this library includes the typedefs in zconf.h so export it too.
Our zlib should now work with "png" (fixes PR lib/3030).
 1.5 24-Mar-1997  christos Makefile cleanups:
use INCS variable to install includes and FILES to install objects.
 1.4 18-Oct-1996  thorpej Use ${INSTALL}.
 1.3 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.2 12-Sep-1996  cgd clean up 'make test' so that it works even in the presence of
'obj' dirs, and added minigzip to CLEANFILES.
 1.1 12-Sep-1996  gwr Separate interface from implementation so that zlib.h can be
included without the other, private header files. Only zlib.h
should be installed in /usr/include; all others are private.
The Makefile has a "test" rule to verify that minigzip.c can
be compiled using only zlib.h (and that it actually works).
Note: This file has extensive modifications.
 1.9.2.1 09-Nov-1997  lukem sync with trunk (approved by thorpej)
 1.12.2.1 09-Jul-1999  perry pullup 1.12->1.13 (Tim Rightnour)
 1.13.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.20.34.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.20.34.1 17-Apr-2012  yamt sync with head
 1.21.2.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.22.8.1 20-Mar-2017  pgoyette Sync with HEAD
 1.23.14.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.23.14.1 10-Jun-2019  christos Sync with HEAD
 1.2 12-Sep-1996  gwr We do not use these.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.2 12-Sep-1996  gwr We do not use these.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.2 12-Sep-1996  gwr We do not use these.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.2 12-Sep-1996  cgd remove some more unused files.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.2 12-Sep-1996  gwr We do not use these.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.2 12-Sep-1996  gwr We do not use these.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.2 12-Sep-1996  gwr We do not use these.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.2 12-Sep-1996  gwr We do not use these.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.2 12-Sep-1996  gwr We do not use these.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.2 12-Sep-1996  gwr We do not use these.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.7 14-Jan-2006  christos use zlib-1.2.3
 1.6 11-Mar-2002  fvdl Resolve (rcsid) conflicts.
 1.5 03-Jul-1999  simonb branches: 1.5.8;
Revert white space changes for imported sources.
 1.4 02-Jul-1999  simonb More trailing white space.
 1.3 01-Nov-1998  tron Resolve import conflicts.
 1.2 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.3 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.2 01-Nov-1998  tron Import zlib version 1.1.3.
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.5.8.1 20-Mar-2002  he Pull up revision 1.6 (requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.
 1.1 26-Mar-2013  agc branches: 1.1.2;
file Version.map was initially added on branch agc-symver.
 1.1.2.1 26-Mar-2013  agc First pass at adding symbol versioning for libz.

Also fix up the ZFS infrastructure where it tried to link with the
wrong libz.so instance -- these problems showed up in testing with the
versioned libz.so.
 1.9 14-Jan-2006  christos use zlib-1.2.3
 1.8 08-Mar-2003  lukem add RCSID
 1.7 11-Mar-2002  fvdl Resolve (rcsid) conflicts.
 1.6 03-Jul-1999  simonb branches: 1.6.8;
Revert white space changes for imported sources.
 1.5 02-Jul-1999  simonb More trailing white space.
 1.4 01-Nov-1998  tron Resolve import conflicts.
 1.3 13-May-1997  gwr Put the original CVS Id strings back in.
 1.2 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.3 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.2 01-Nov-1998  tron Import zlib version 1.1.3.
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.6.8.1 20-Mar-2002  he Pull up revision 1.7 (requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.
 1.6 11-Mar-2002  fvdl Resolve (rcsid) conflicts.
 1.5 03-Jul-1999  simonb branches: 1.5.8;
Revert white space changes for imported sources.
 1.4 02-Jul-1999  simonb More trailing white space.
 1.3 01-Nov-1998  tron Resolve import conflicts.
 1.2 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.2 01-Nov-1998  tron Import zlib version 1.1.3.
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.5.8.1 20-Mar-2002  he Pull up file removal (requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.
 1.2 14-Jan-2006  christos use zlib-1.2.3
 1.1 11-Mar-2002  fvdl branches: 1.1.1;
Initial revision
 1.1.1.1 11-Mar-2002  fvdl branches: 1.1.1.1.2;
Upgrade to zlib 1.1.4 (security fix)
 1.1.1.1.2.2 20-Mar-2002  he Pull up revision 1.1 (new, requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.
 1.1.1.1.2.1 11-Mar-2002  he file algorithm.txt was added on branch netbsd-1-5 on 2002-03-20 23:21:53 +0000
 1.9 14-Jan-2006  christos use zlib-1.2.3
 1.8 08-Mar-2003  lukem add RCSID
 1.7 11-Mar-2002  fvdl Resolve (rcsid) conflicts.
 1.6 03-Jul-1999  simonb branches: 1.6.8;
Revert white space changes for imported sources.
 1.5 02-Jul-1999  simonb More trailing white space.
 1.4 01-Nov-1998  tron Resolve import conflicts.
 1.3 13-May-1997  gwr Put the original CVS Id strings back in.
 1.2 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.3 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.2 01-Nov-1998  tron Import zlib version 1.1.3.
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.6.8.1 20-Mar-2002  he Pull up revision 1.7 (requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.
 1.2 12-Sep-1996  cgd remove some more unused files.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.10 14-Jan-2006  christos use zlib-1.2.3
 1.9 08-Mar-2003  lukem add RCSID
 1.8 11-Mar-2002  fvdl Resolve (rcsid) conflicts.
 1.7 08-Jan-2001  itojun do not declare OF() in header. use __P().
maybe we could have ansified it, but did not for possible feedback to the
original zlib distribution
 1.6 03-Jul-1999  simonb branches: 1.6.8;
Revert white space changes for imported sources.
 1.5 02-Jul-1999  simonb More trailing white space.
 1.4 01-Nov-1998  tron Resolve import conflicts.
 1.3 13-May-1997  gwr Put the original CVS Id strings back in.
 1.2 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.3 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.2 01-Nov-1998  tron Import zlib version 1.1.3.
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.6.8.1 20-Mar-2002  he Pull up revision 1.8 (requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.
 1.13 14-Jan-2006  christos use zlib-1.2.3
 1.12 18-Mar-2003  mycroft const poisoning. There is no initialized read-write data in the static library
now.
 1.11 08-Mar-2003  lukem add RCSID
 1.10 29-May-2002  christos Add some extensions that pppdump needs. These do not affect functionality
outside pppdump so I am not bumping the minor number.
 1.9 07-May-2002  tron Fix memory leak which occurs after an allocation failure.
 1.8 11-Mar-2002  fvdl Resolve (rcsid) conflicts.
 1.7 08-Jan-2001  itojun do not declare OF() in header. use __P().
maybe we could have ansified it, but did not for possible feedback to the
original zlib distribution
 1.6 03-Jul-1999  simonb branches: 1.6.8;
Revert white space changes for imported sources.
 1.5 02-Jul-1999  simonb More trailing white space.
 1.4 01-Nov-1998  tron Resolve import conflicts.
 1.3 13-May-1997  gwr Put the original CVS Id strings back in.
 1.2 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.3 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.2 01-Nov-1998  tron Import zlib version 1.1.3.
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.6.8.1 20-Mar-2002  he Pull up revision 1.8 (requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.
 1.11 14-Jan-2006  christos use zlib-1.2.3
 1.10 18-Mar-2003  mycroft const poisoning. There is no initialized read-write data in the static library
now.
 1.9 29-May-2002  christos Add some extensions that pppdump needs. These do not affect functionality
outside pppdump so I am not bumping the minor number.
 1.8 11-Mar-2002  fvdl Resolve (rcsid) conflicts.
 1.7 08-Jan-2001  itojun do not declare OF() in header. use __P().
maybe we could have ansified it, but did not for possible feedback to the
original zlib distribution
 1.6 03-Jul-1999  simonb branches: 1.6.8;
Revert white space changes for imported sources.
 1.5 02-Jul-1999  simonb More trailing white space.
 1.4 01-Nov-1998  tron Resolve import conflicts.
 1.3 13-May-1997  gwr Put the original CVS Id strings back in.
 1.2 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.3 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.2 01-Nov-1998  tron Import zlib version 1.1.3.
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.6.8.1 20-Mar-2002  he Pull up revision 1.8 (requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.
 1.2 12-Sep-1996  gwr We do not use these.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.10 14-Jan-2006  christos use zlib-1.2.3
 1.9 11-Mar-2002  fvdl Resolve (rcsid) conflicts.
 1.8 08-Jan-2001  itojun do not declare OF() in header. use __P().
maybe we could have ansified it, but did not for possible feedback to the
original zlib distribution
 1.7 03-Jul-1999  simonb branches: 1.7.8;
Revert white space changes for imported sources.
 1.6 02-Jul-1999  simonb More trailing white space.
 1.5 01-Nov-1998  tron Resolve import conflicts.
 1.4 13-May-1997  gwr Put the original CVS Id strings back in.
 1.3 23-Jan-1997  mrg - convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
- some KNF.
 1.2 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.3 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.2 01-Nov-1998  tron Import zlib version 1.1.3.
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.7.8.1 20-Mar-2002  he Pull up revision 1.9 (requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.
 1.22 14-Jan-2006  christos use zlib-1.2.3
 1.21 01-May-2004  mrg backout the changes made on 29th of january:
- remove gzopenfull() and gzdopenfull()
- un-bump minor number
- remove docs for gone functions.

traditionally this is an invalid change (removing an API from a library
without bumping the major.) it has been decided that this case is special
enough not to require that. no one should have been using these new
functions yet.

PS: this may cause "make install" to barf about older libraries already
being installed.
 1.20 29-Jan-2004  mrg branches: 1.20.2;
add two functions to zlib: gzopenfull() and gzdopenfull() that both take
additional "const char *savename" and "u_int32_t mtime" parameters that
are written out into the gzip header in the mtime field and as the original
filename.
 1.19 18-Mar-2003  jdolecek in gzseek(), use fseeko() instead of fseek() to support full 64bit offset
 1.18 18-Mar-2003  jdolecek eliminate some const-castaways
 1.17 18-Mar-2003  mycroft const poisoning. There is no initialized read-write data in the static library
now.
 1.16 08-Mar-2003  lukem add RCSID
 1.15 05-Mar-2003  groo Remove the HAS_* ifdefs which select [v]s{,n}printf. Always choose the
n version.
 1.14 05-Mar-2003  christos fix for potential buffer overflow in snprintf() (from OpenBSD)
 1.13 28-Jan-2003  wiz success, not sucess. Noted by mjl.
 1.12 11-Mar-2002  fvdl branches: 1.12.2;
Resolve (rcsid) conflicts.
 1.11 16-Sep-2001  wiz Spell 'occurred' with two 'r's.
 1.10 08-Jan-2001  itojun do not declare OF() in header. use __P().
maybe we could have ansified it, but did not for possible feedback to the
original zlib distribution
 1.9 03-Jul-1999  simonb branches: 1.9.8;
Revert white space changes for imported sources.
 1.8 02-Jul-1999  simonb More trailing white space.
 1.7 01-Nov-1998  tron Resolve import conflicts.
 1.6 13-May-1997  gwr Put the original CVS Id strings back in.
 1.5 23-Jan-1997  mrg - convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
- some KNF.
 1.4 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.3 12-Sep-1996  gwr Add a NO_DEFLATE conditional that allows this to be compiled without
reference to the "deflate" compression module. This can be used to
build a very small zcat for things like install media. (An example
of such a small zcat may be found in src/distrib/utils/zcat).
 1.2 12-Sep-1996  gwr Fix a "const discarded" warning.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.3 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.2 01-Nov-1998  tron Import zlib version 1.1.3.
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.9.8.2 05-Mar-2003  jmc Pullup rev 1.14-1.15 (requested by groo in tickets #29 and #30)
Fix for potential buffer overflow in snprintf() (from OpenBSD)
Remove the HAS_* ifdefs which select [v]s{,n}printf. Always choose the
n version.
 1.9.8.1 20-Mar-2002  he Pull up revision 1.12 (requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.
 1.12.2.1 05-Mar-2003  jmc Pullup rev 1.14-1.15 (requested by groo in tickets #1193 and #1194)
Fix for potential buffer overflow in snprintf() (from OpenBSD)
Remove the HAS_* ifdefs which select [v]s{,n}printf. Always choose the
n version.
 1.20.2.1 06-May-2004  jmc Pullup rev 1.21 (requested by mrg in ticket #258)

Backout the changes made on 29th of january:
- remove gzopenfull() and gzdopenfull()
- un-bump minor number
- remove docs for gone functions.
 1.4 14-Jan-2006  christos use zlib-1.2.3
 1.3 08-Mar-2003  lukem add RCSID
 1.2 26-Oct-1999  itojun branches: 1.2.4;
fix backward-compatible upgrade function name. (__RENAME thing)
the digit after the function name must be (shlib major + 1).

From: Klaus Klein <kleink@ira.uka.de>
 1.1 26-Oct-1999  itojun make z_off_t into off_t, which used to be "long" by mistake.
backward compatibility functions are supplied.

XXX increase shlib major, or minor?
 1.2.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.10 14-Jan-2006  christos use zlib-1.2.3
 1.9 18-Mar-2003  mycroft const poisoning. There is no initialized read-write data in the static library
now.
 1.8 08-Mar-2003  lukem add RCSID
 1.7 29-May-2002  christos Add some extensions that pppdump needs. These do not affect functionality
outside pppdump so I am not bumping the minor number.
 1.6 11-Mar-2002  fvdl Resolve (rcsid) conflicts.
 1.5 03-Jul-1999  simonb branches: 1.5.8;
Revert white space changes for imported sources.
 1.4 02-Jul-1999  simonb More trailing white space.
 1.3 01-Nov-1998  tron Resolve import conflicts.
 1.2 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.3 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.2 01-Nov-1998  tron Import zlib version 1.1.3.
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.5.8.1 20-Mar-2002  he Pull up revision 1.6 (requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.
 1.9 14-Jan-2006  christos use zlib-1.2.3
 1.8 29-May-2002  christos Add some extensions that pppdump needs. These do not affect functionality
outside pppdump so I am not bumping the minor number.
 1.7 11-Mar-2002  fvdl Resolve (rcsid) conflicts.
 1.6 08-Jan-2001  itojun do not declare OF() in header. use __P().
maybe we could have ansified it, but did not for possible feedback to the
original zlib distribution
 1.5 03-Jul-1999  simonb branches: 1.5.8;
Revert white space changes for imported sources.
 1.4 02-Jul-1999  simonb More trailing white space.
 1.3 01-Nov-1998  tron Resolve import conflicts.
 1.2 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.3 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.2 01-Nov-1998  tron Import zlib version 1.1.3.
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.5.8.1 20-Mar-2002  he Pull up revision 1.7 (requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.
 1.9 14-Jan-2006  christos use zlib-1.2.3
 1.8 18-Mar-2003  mycroft const poisoning. There is no initialized read-write data in the static library
now.
 1.7 08-Mar-2003  lukem add RCSID
 1.6 11-Mar-2002  fvdl Resolve (rcsid) conflicts.
 1.5 03-Jul-1999  simonb branches: 1.5.8;
Revert white space changes for imported sources.
 1.4 02-Jul-1999  simonb More trailing white space.
 1.3 01-Nov-1998  tron Resolve import conflicts.
 1.2 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.3 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.2 01-Nov-1998  tron Import zlib version 1.1.3.
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.5.8.1 20-Mar-2002  he Pull up revision 1.6 (requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.
 1.9 14-Jan-2006  christos use zlib-1.2.3
 1.8 18-Mar-2003  mycroft const poisoning. There is no initialized read-write data in the static library
now.
 1.7 11-Mar-2002  fvdl Resolve (rcsid) conflicts.
 1.6 08-Jan-2001  itojun do not declare OF() in header. use __P().
maybe we could have ansified it, but did not for possible feedback to the
original zlib distribution
 1.5 03-Jul-1999  simonb branches: 1.5.8;
Revert white space changes for imported sources.
 1.4 02-Jul-1999  simonb More trailing white space.
 1.3 01-Nov-1998  tron Resolve import conflicts.
 1.2 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.3 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.2 01-Nov-1998  tron Import zlib version 1.1.3.
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.5.8.1 20-Mar-2002  he Pull up revision 1.7 (requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.
 1.9 14-Jan-2006  christos use zlib-1.2.3
 1.8 18-Mar-2003  mycroft const poisoning. There is no initialized read-write data in the static library
now.
 1.7 08-Mar-2003  lukem add RCSID
 1.6 11-Mar-2002  fvdl Resolve (rcsid) conflicts.
 1.5 03-Jul-1999  simonb branches: 1.5.8;
Revert white space changes for imported sources.
 1.4 02-Jul-1999  simonb More trailing white space.
 1.3 01-Nov-1998  tron Resolve import conflicts.
 1.2 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.3 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.2 01-Nov-1998  tron Import zlib version 1.1.3.
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.5.8.1 20-Mar-2002  he Pull up revision 1.6 (requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.
 1.9 14-Jan-2006  christos use zlib-1.2.3
 1.8 18-Mar-2003  mycroft const poisoning. There is no initialized read-write data in the static library
now.
 1.7 11-Mar-2002  fvdl Resolve (rcsid) conflicts.
 1.6 08-Jan-2001  itojun do not declare OF() in header. use __P().
maybe we could have ansified it, but did not for possible feedback to the
original zlib distribution
 1.5 03-Jul-1999  simonb branches: 1.5.8;
Revert white space changes for imported sources.
 1.4 02-Jul-1999  simonb More trailing white space.
 1.3 01-Nov-1998  tron Resolve import conflicts.
 1.2 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.3 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.2 01-Nov-1998  tron Import zlib version 1.1.3.
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.5.8.1 20-Mar-2002  he Pull up revision 1.7 (requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.
 1.3 14-Jan-2006  christos use zlib-1.2.3
 1.2 18-Mar-2003  mycroft const poisoning. There is no initialized read-write data in the static library
now.
 1.1 01-Nov-1998  tron branches: 1.1.1;
Initial revision
 1.1.1.2 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.1 01-Nov-1998  tron Import zlib version 1.1.3.
 1.9 14-Jan-2006  christos use zlib-1.2.3
 1.8 08-Mar-2003  lukem add RCSID
 1.7 29-May-2002  christos Add some extensions that pppdump needs. These do not affect functionality
outside pppdump so I am not bumping the minor number.
 1.6 11-Mar-2002  fvdl Resolve (rcsid) conflicts.
 1.5 03-Jul-1999  simonb branches: 1.5.8;
Revert white space changes for imported sources.
 1.4 02-Jul-1999  simonb More trailing white space.
 1.3 01-Nov-1998  tron Resolve import conflicts.
 1.2 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.3 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.2 01-Nov-1998  tron Import zlib version 1.1.3.
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.5.8.1 20-Mar-2002  he Pull up revision 1.6 (requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.
 1.11 14-Jan-2006  christos use zlib-1.2.3
 1.10 04-Aug-2005  tron Return correct error on all zero length codes. Fix from Gentoo bug 94584.
 1.9 18-Mar-2003  mycroft branches: 1.9.2; 1.9.4; 1.9.6;
const poisoning. There is no initialized read-write data in the static library
now.
 1.8 08-Mar-2003  lukem add RCSID
 1.7 11-Mar-2002  fvdl branches: 1.7.2;
Resolve (rcsid) conflicts.
 1.6 08-Jan-2001  itojun do not declare OF() in header. use __P().
maybe we could have ansified it, but did not for possible feedback to the
original zlib distribution
 1.5 03-Jul-1999  simonb branches: 1.5.8;
Revert white space changes for imported sources.
 1.4 02-Jul-1999  simonb More trailing white space.
 1.3 01-Nov-1998  tron Resolve import conflicts.
 1.2 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.3 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.2 01-Nov-1998  tron Import zlib version 1.1.3.
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.5.8.1 20-Mar-2002  he Pull up revision 1.7 (requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.
 1.7.2.1 05-Aug-2005  snj Pull up revision 1.10 (requested by tron in ticket #5835):
Return correct error on all zero length codes. Fix from Gentoo bug 94584.
 1.9.6.1 05-Aug-2005  snj Pull up revision 1.10 (requested by tron in ticket #649):
Return correct error on all zero length codes. Fix from Gentoo bug 94584.
 1.9.4.1 05-Aug-2005  snj Pull up revision 1.10 (requested by tron in ticket #5550):
Return correct error on all zero length codes. Fix from Gentoo bug 94584.
 1.9.2.1 05-Aug-2005  snj Pull up revision 1.10 (requested by tron in ticket #5550):
Return correct error on all zero length codes. Fix from Gentoo bug 94584.
 1.9 14-Jan-2006  christos use zlib-1.2.3
 1.8 18-Mar-2003  mycroft const poisoning. There is no initialized read-write data in the static library
now.
 1.7 11-Mar-2002  fvdl Resolve (rcsid) conflicts.
 1.6 08-Jan-2001  itojun do not declare OF() in header. use __P().
maybe we could have ansified it, but did not for possible feedback to the
original zlib distribution
 1.5 03-Jul-1999  simonb branches: 1.5.8;
Revert white space changes for imported sources.
 1.4 02-Jul-1999  simonb More trailing white space.
 1.3 01-Nov-1998  tron Resolve import conflicts.
 1.2 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.3 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.2 01-Nov-1998  tron Import zlib version 1.1.3.
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.5.8.1 20-Mar-2002  he Pull up revision 1.7 (requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.
 1.9 14-Jan-2006  christos use zlib-1.2.3
 1.8 18-Mar-2003  mycroft const poisoning. There is no initialized read-write data in the static library
now.
 1.7 08-Mar-2003  lukem add RCSID
 1.6 11-Mar-2002  fvdl Resolve (rcsid) conflicts.
 1.5 03-Jul-1999  simonb branches: 1.5.8;
Revert white space changes for imported sources.
 1.4 02-Jul-1999  simonb More trailing white space.
 1.3 01-Nov-1998  tron Resolve import conflicts.
 1.2 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.3 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.2 01-Nov-1998  tron Import zlib version 1.1.3.
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.5.8.1 20-Mar-2002  he Pull up revision 1.6 (requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.
 1.9 14-Jan-2006  christos use zlib-1.2.3
 1.8 18-Mar-2003  mycroft const poisoning. There is no initialized read-write data in the static library
now.
 1.7 11-Mar-2002  fvdl Resolve (rcsid) conflicts.
 1.6 08-Jan-2001  itojun do not declare OF() in header. use __P().
maybe we could have ansified it, but did not for possible feedback to the
original zlib distribution
 1.5 03-Jul-1999  simonb branches: 1.5.8;
Revert white space changes for imported sources.
 1.4 02-Jul-1999  simonb More trailing white space.
 1.3 01-Nov-1998  tron Resolve import conflicts.
 1.2 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.3 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.2 01-Nov-1998  tron Import zlib version 1.1.3.
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.5.8.1 20-Mar-2002  he Pull up revision 1.7 (requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.
 1.2 01-Nov-1998  tron Resolve import conflicts.
 1.1 01-Nov-1998  tron branches: 1.1.1;
Initial revision
 1.1.1.1 01-Nov-1998  tron Import zlib version 1.1.3.
 1.12 14-Jan-2006  christos use zlib-1.2.3
 1.11 11-Mar-2002  fvdl Resolve (rcsid) conflicts.
 1.10 08-Jan-2001  itojun do not declare OF() in header. use __P().
maybe we could have ansified it, but did not for possible feedback to the
original zlib distribution
 1.9 03-Jul-1999  simonb branches: 1.9.8;
Revert white space changes for imported sources.
 1.8 02-Jul-1999  simonb More trailing white space.
 1.7 01-Nov-1998  tron Resolve import conflicts.
 1.6 13-May-1997  gwr This is just a test program, so leave the strcat (etc.) calls alone.
The changes to strncat (etc.) did not compile anyway...
 1.5 13-May-1997  gwr Put the original CVS Id strings back in.
 1.4 23-Jan-1997  mrg - convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
- some KNF.
 1.3 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.2 12-Sep-1996  gwr Eliminate use of things private to the library.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.3 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.2 01-Nov-1998  tron Import zlib version 1.1.3.
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.9.8.1 20-Mar-2002  he Pull up revision 1.11 (requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.
 1.10 14-Jan-2006  christos use zlib-1.2.3
 1.9 01-May-2004  mrg oops; don't back out the minor number, just remove the functions.
this will allow updating to happen seemlessly.
 1.8 01-May-2004  mrg backout the changes made on 29th of january:
- remove gzopenfull() and gzdopenfull()
- un-bump minor number
- remove docs for gone functions.

traditionally this is an invalid change (removing an API from a library
without bumping the major.) it has been decided that this case is special
enough not to require that. no one should have been using these new
functions yet.

PS: this may cause "make install" to barf about older libraries already
being installed.
 1.7 29-Jan-2004  mrg branches: 1.7.2;
add two functions to zlib: gzopenfull() and gzdopenfull() that both take
additional "const char *savename" and "u_int32_t mtime" parameters that
are written out into the gzip header in the mtime field and as the original
filename.
 1.6 29-May-2002  christos I've been scolded for not bumping the minor, so there.
 1.5 26-Oct-1999  itojun increase shlib minor for z_off_t changes.
 1.4 25-Feb-1999  abs branches: 1.4.4;
Add a note to update src/distrib/sets/lists/base/shl.*, and add a missing
RCS Id.
 1.3 02-Nov-1998  tron Bump minor version because some function calls were added.
 1.2 05-Jan-1998  perry RCSID Police.
 1.1 12-Sep-1996  cgd make it into a shared library, too.
 1.4.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.7.2.2 06-May-2004  jmc Pullup rev 1.9 (requested by mrg in ticket #258)

Backout the changes made on 29th of january:
- remove gzopenfull() and gzdopenfull()
- un-bump minor number
- remove docs for gone functions.
 1.7.2.1 06-May-2004  jmc Pullup rev 1.8 (requested by mrg in ticket #258)

Backout the changes made on 29th of january:
- remove gzopenfull() and gzdopenfull()
- un-bump minor number
- remove docs for gone functions.
 1.14 14-Jan-2006  christos use zlib-1.2.3
 1.13 17-Apr-2005  christos PR/21167: Christian Biere: ctype function misuse.
 1.12 18-Mar-2003  jdolecek constify compress_block()
 1.11 18-Mar-2003  mycroft const poisoning. There is no initialized read-write data in the static library
now.
 1.10 08-Mar-2003  lukem add RCSID
 1.9 29-May-2002  christos Add some extensions that pppdump needs. These do not affect functionality
outside pppdump so I am not bumping the minor number.
 1.8 11-Mar-2002  fvdl Resolve (rcsid) conflicts.
 1.7 08-Jan-2001  itojun do not declare OF() in header. use __P().
maybe we could have ansified it, but did not for possible feedback to the
original zlib distribution
 1.6 03-Jul-1999  simonb branches: 1.6.8;
Revert white space changes for imported sources.
 1.5 02-Jul-1999  simonb More trailing white space.
 1.4 01-Nov-1998  tron Resolve import conflicts.
 1.3 13-May-1997  gwr Put the original CVS Id strings back in.
 1.2 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.3 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.2 01-Nov-1998  tron Import zlib version 1.1.3.
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.6.8.1 20-Mar-2002  he Pull up revision 1.8 (requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.
 1.2 14-Jan-2006  christos use zlib-1.2.3
 1.1 01-Nov-1998  tron branches: 1.1.1;
Initial revision
 1.1.1.2 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.1 01-Nov-1998  tron Import zlib version 1.1.3.
 1.9 14-Jan-2006  christos use zlib-1.2.3
 1.8 08-Mar-2003  lukem add RCSID
 1.7 11-Mar-2002  fvdl Resolve (rcsid) conflicts.
 1.6 03-Jul-1999  simonb branches: 1.6.8;
Revert white space changes for imported sources.
 1.5 02-Jul-1999  simonb More trailing white space.
 1.4 01-Nov-1998  tron Resolve import conflicts.
 1.3 13-May-1997  gwr Put the original CVS Id strings back in.
 1.2 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.3 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.2 01-Nov-1998  tron Import zlib version 1.1.3.
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.6.8.1 20-Mar-2002  he Pull up revision 1.7 (requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.
 1.1 21-Nov-2024  riastradh branches: 1.1.4;
libz: Add expected symbols list.

NOTE: This looks like it has some extraneous crud like _dist_code,
_tr_align, and others.

PR lib/58838: shared libraries in base should all have expsym lists
 1.1.4.2 02-Aug-2025  perseant Sync with HEAD
 1.1.4.1 21-Nov-2024  perseant file z.expsym was added on branch perseant-exfatfs on 2025-08-02 05:55:00 +0000
 1.12 14-Jan-2006  christos use zlib-1.2.3
 1.11 11-Mar-2002  fvdl Resolve (rcsid) conflicts.
 1.10 08-Jan-2001  itojun declare __P if missing
 1.9 08-Jan-2001  itojun do not declare OF() in header. use __P().
maybe we could have ansified it, but did not for possible feedback to the
original zlib distribution
 1.8 26-Oct-1999  itojun branches: 1.8.6;
make z_off_t into off_t, which used to be "long" by mistake.
backward compatibility functions are supplied.

XXX increase shlib major, or minor?
 1.7 03-Jul-1999  simonb branches: 1.7.2;
Revert white space changes for imported sources.
 1.6 02-Jul-1999  simonb More trailing white space.
 1.5 01-Nov-1998  tron Resolve import conflicts.
 1.4 13-May-1997  gwr Remove _ZLIB_PRIVATE and all related changes. The "exported" API
of this library includes the typedefs in zconf.h so export it too.
Our zlib should now work with "png" (fixes PR lib/3030).
 1.3 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.2 12-Sep-1996  gwr Separate interface from implementation so that zlib.h can be
included without the other, private header files. Only zlib.h
should be installed in /usr/include; all others are private.
The Makefile has a "test" rule to verify that minigzip.c can
be compiled using only zlib.h (and that it actually works).
Note: This file has extensive modifications.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.3 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.2 01-Nov-1998  tron Import zlib version 1.1.3.
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.7.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.8.6.1 20-Mar-2002  he Pull up revision 1.11 (requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.
 1.11 03-Jul-2017  wiz Remove workaround for ancient HTML generation code.
 1.10 18-Mar-2014  riastradh Merge riastradh-drm2 to HEAD.
 1.9 20-Jul-2013  wiz Use Mt for email addresses.
 1.8 15-Mar-2012  njoly branches: 1.8.2; 1.8.4;
Use Lk macro when dealing with URLs. Another part of PR/29238.
 1.7 22-Mar-2010  joerg branches: 1.7.6;
Use .In instead of .Ar Pa
 1.6 12-Mar-2009  joerg Remove redundant physical markup. Don't workaround ancient macro argment
limit with .Xo/.Xc.
 1.5 01-May-2004  mrg branches: 1.5.34;
backout the changes made on 29th of january:
- remove gzopenfull() and gzdopenfull()
- un-bump minor number
- remove docs for gone functions.

traditionally this is an invalid change (removing an API from a library
without bumping the major.) it has been decided that this case is special
enough not to require that. no one should have been using these new
functions yet.

PS: this may cause "make install" to barf about older libraries already
being installed.
 1.4 05-Mar-2004  wiz branches: 1.4.2;
Call it Adler-32 consistently. From jmc@openbsd.
 1.3 29-Jan-2004  wiz Use -literal instead of -unfilled Bds; replace OpenBSD with .Ox;
<> -> \*[Lt]\*[Gt].
 1.2 29-Jan-2004  mrg add two functions to zlib: gzopenfull() and gzdopenfull() that both take
additional "const char *savename" and "u_int32_t mtime" parameters that
are written out into the gzip header in the mtime field and as the original
filename.
 1.1 03-Oct-2003  wiz Add zlib(3) provided by jmc@openbsd -- thank you!
 1.4.2.1 06-May-2004  jmc Pullup rev 1.5 (requested by mrg in ticket #258)

Backout the changes made on 29th of january:
- remove gzopenfull() and gzdopenfull()
- un-bump minor number
- remove docs for gone functions.
 1.5.34.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.7.6.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.7.6.1 17-Apr-2012  yamt sync with head
 1.8.4.1 23-Jul-2013  riastradh sync with HEAD
 1.8.2.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2 12-Sep-1996  gwr We do not use these.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.17 14-Jan-2006  christos use zlib-1.2.3
 1.16 05-Feb-2005  yamt revert zlib.h rev.1.15 (gzopenfull and gzdopenfull)
as gzio.c counterpart has been reverted.
 1.15 29-Jan-2004  mrg add two functions to zlib: gzopenfull() and gzdopenfull() that both take
additional "const char *savename" and "u_int32_t mtime" parameters that
are written out into the gzip header in the mtime field and as the original
filename.
 1.14 22-Mar-2003  christos remove parameter names to avoid shadowing of globals.
 1.13 29-May-2002  christos Add some extensions that pppdump needs. These do not affect functionality
outside pppdump so I am not bumping the minor number.
 1.12 11-Mar-2002  fvdl Resolve (rcsid) conflicts.
 1.11 08-Jan-2001  itojun do not declare OF() in header. use __P().
maybe we could have ansified it, but did not for possible feedback to the
original zlib distribution
 1.10 04-Oct-2000  sommerfeld Add format checking
 1.9 26-Oct-1999  itojun branches: 1.9.6;
fix backward-compatible upgrade function name. (__RENAME thing)
the digit after the function name must be (shlib major + 1).

From: Klaus Klein <kleink@ira.uka.de>
 1.8 26-Oct-1999  itojun make z_off_t into off_t, which used to be "long" by mistake.
backward compatibility functions are supplied.

XXX increase shlib major, or minor?
 1.7 03-Jul-1999  simonb branches: 1.7.2;
Revert white space changes for imported sources.
 1.6 02-Jul-1999  simonb More trailing white space.
 1.5 01-Nov-1998  tron Resolve import conflicts.
 1.4 13-May-1997  gwr Remove _ZLIB_PRIVATE and all related changes. The "exported" API
of this library includes the typedefs in zconf.h so export it too.
Our zlib should now work with "png" (fixes PR lib/3030).
 1.3 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.2 12-Sep-1996  gwr Separate interface from implementation so that zlib.h can be
included without the other, private header files. Only zlib.h
should be installed in /usr/include; all others are private.
The Makefile has a "test" rule to verify that minigzip.c can
be compiled using only zlib.h (and that it actually works).
Note: This file has extensive modifications.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.3 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.2 01-Nov-1998  tron Import zlib version 1.1.3.
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.7.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.9.6.1 20-Mar-2002  he Pull up revision 1.12 (requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.
 1.2 12-Mar-2017  wiz Update zlib version in pkgconfig file.
 1.1 30-Jan-2014  wiz branches: 1.1.4; 1.1.8; 1.1.12; 1.1.16;
Install a pkg-config file for zlib.
 1.1.16.1 21-Apr-2017  bouyer Sync with HEAD
 1.1.12.1 20-Mar-2017  pgoyette Sync with HEAD
 1.1.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.8.1 30-Jan-2014  tls file zlib.pc was added on branch tls-maxphys on 2014-08-20 00:02:21 +0000
 1.1.4.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.4.1 30-Jan-2014  yamt file zlib.pc was added on branch yamt-pagecache on 2014-05-22 11:37:00 +0000
 1.2 12-Sep-1996  gwr We do not use these.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.11 14-Jan-2006  christos use zlib-1.2.3
 1.10 18-Mar-2003  mycroft const poisoning. There is no initialized read-write data in the static library
now.
 1.9 08-Mar-2003  lukem add RCSID
 1.8 11-Mar-2002  fvdl Resolve (rcsid) conflicts.
 1.7 08-Jan-2001  itojun do not declare OF() in header. use __P().
maybe we could have ansified it, but did not for possible feedback to the
original zlib distribution
 1.6 03-Jul-1999  simonb branches: 1.6.8;
Revert white space changes for imported sources.
 1.5 02-Jul-1999  simonb More trailing white space.
 1.4 01-Nov-1998  tron Resolve import conflicts.
 1.3 13-May-1997  gwr Put the original CVS Id strings back in.
 1.2 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.3 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.2 01-Nov-1998  tron Import zlib version 1.1.3.
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.6.8.1 20-Mar-2002  he Pull up revision 1.8 (requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.
 1.13 14-Jan-2006  christos use zlib-1.2.3
 1.12 18-Mar-2003  mycroft const poisoning. There is no initialized read-write data in the static library
now.
 1.11 11-Mar-2002  fvdl Resolve (rcsid) conflicts.
 1.10 08-Jan-2001  itojun do not declare OF() in header. use __P().
maybe we could have ansified it, but did not for possible feedback to the
original zlib distribution
 1.9 13-Nov-1999  thorpej branches: 1.9.4;
Backout my libsa changes.
 1.8 12-Nov-1999  simonb Sync with src/sys/lib/libz/zutil.h.
 1.7 03-May-1999  christos branches: 1.7.4;
Somehow I forgot to update the changes from the kernel.
 1.6 03-Nov-1998  tron Sync with file in "src/sys/lib/libz".
 1.5 01-Nov-1998  tron Resolve import conflicts.
 1.4 27-Mar-1998  cgd if _STANDALONE or _KERNEL, don't include standard headers and pull
in libkern.h instead. (That doesn't even appear to be necessary,
but it's the 'standard' thing to do.)
 1.3 13-May-1997  gwr Put the original CVS Id strings back in.
 1.2 13-Sep-1996  cgd RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
 1.1 12-Sep-1996  gwr branches: 1.1.1;
Initial revision
 1.1.1.3 11-Mar-2002  fvdl Upgrade to zlib 1.1.4 (security fix)
 1.1.1.2 01-Nov-1998  tron Import zlib version 1.1.3.
 1.1.1.1 12-Sep-1996  gwr Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
 1.7.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.9.4.1 20-Mar-2002  he Pull up revision 1.11 (requested by fvdl):
Upgrade libz to 1.1.4 due to a possible security bug.

RSS XML Feed