summaryrefslogtreecommitdiff
path: root/lib/libz
AgeCommit message (Collapse)Author
2023-06-03bsd.own.mk: rename GCC_NO_* to CC_WNO_*lukem
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.
2021-10-21fix various typos, mainly in comments, but also in man pages and log messages.andvar
2021-04-26use GCC_NO_IMPLICIT_FALLTHRU.mrg
2019-09-29convert HAVE_GCC == 7 to HAVE_GCC >= 7.mrg
2019-02-04- use -Wno-error=implicit-fallthrough with GCC7.mrg
2017-07-03Remove workaround for ancient HTML generation code.wiz
2017-03-12Update zlib version in pkgconfig file.wiz
2017-01-10Adapt to new zlibchristos
2014-03-18Merge riastradh-drm2 to HEAD.riastradh
2014-01-30Install a pkg-config file for zlib.wiz
2013-07-20Use Mt for email addresses.wiz
2012-03-21These directories don't handle WARNS=5matt
2012-03-15Use Lk macro when dealing with URLs. Another part of PR/29238.njoly
2010-03-22Use .In instead of .Ar Pajoerg
2009-03-12Remove redundant physical markup. Don't workaround ancient macro argmentjoerg
limit with .Xo/.Xc.
2007-05-28Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on thetls
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.
2006-01-14use zlib-1.2.3christos
2005-08-04Return correct error on all zero length codes. Fix from Gentoo bug 94584.tron
2005-04-17PR/21167: Christian Biere: ctype function misuse.christos
2005-02-05revert zlib.h rev.1.15 (gzopenfull and gzdopenfull)yamt
as gzio.c counterpart has been reverted.
2004-05-01oops; don't back out the minor number, just remove the functions.mrg
this will allow updating to happen seemlessly.
2004-05-01backout the changes made on 29th of january:mrg
- 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.
2004-03-05Call it Adler-32 consistently. From jmc@openbsd.wiz
2004-01-29Use -literal instead of -unfilled Bds; replace OpenBSD with .Ox;wiz
<> -> \*[Lt]\*[Gt].
2004-01-29add two functions to zlib: gzopenfull() and gzdopenfull() that both takemrg
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.
2003-10-03Add zlib(3) provided by jmc@openbsd -- thank you!wiz
2003-03-22remove parameter names to avoid shadowing of globals.christos
2003-03-18in gzseek(), use fseeko() instead of fseek() to support full 64bit offsetjdolecek
2003-03-18eliminate some const-castawaysjdolecek
2003-03-18constify compress_block()jdolecek
2003-03-18const poisoning. There is no initialized read-write data in the static librarymycroft
now.
2003-03-08add RCSIDlukem
2003-03-05Remove the HAS_* ifdefs which select [v]s{,n}printf. Always choose thegroo
n version.
2003-03-05fix for potential buffer overflow in snprintf() (from OpenBSD)christos
2003-01-28success, not sucess. Noted by mjl.wiz
2002-08-19Explicitly move setting of NOxxx and USE_SHLIBDIR to the top of thelukem
Makefile (before including <bsd.own.mk>)
2002-05-29I've been scolded for not bumping the minor, so there.christos
2002-05-29Add some extensions that pppdump needs. These do not affect functionalitychristos
outside pppdump so I am not bumping the minor number.
2002-05-07Fix memory leak which occurs after an allocation failure.tron
2002-03-11Resolve (rcsid) conflicts.fvdl
2002-03-11Upgrade to zlib 1.1.4 (security fix)fvdl
2001-12-28* Add user-controlled mk.conf variableslukem
- 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
2001-12-12Readability cleanups; MKfoo=no -> NOfoo.tv
2001-09-16Spell 'occurred' with two 'r's.wiz
2001-01-08declare __P if missingitojun
2001-01-08do not declare OF() in header. use __P().itojun
maybe we could have ansified it, but did not for possible feedback to the original zlib distribution
2000-10-04Add format checkingsommerfeld
1999-11-13Backout my libsa changes.thorpej
1999-11-12Sync with src/sys/lib/libz/zutil.h.simonb
1999-10-26fix backward-compatible upgrade function name. (__RENAME thing)itojun
the digit after the function name must be (shlib major + 1). From: Klaus Klein <kleink@ira.uka.de>