summaryrefslogtreecommitdiff
path: root/lib/libz
AgeCommit message (Collapse)Author
2021-02-08correct return type for compressBound();Jason McIntyre
from pedro martelletto
2020-04-18When opening a completely empty file with gzopen(3), treat it as anIngo Schwarze
uncompressed file, such that the first gzread(3) results in Z_STREAM_END rather than in the misleading Z_BUF_ERROR. I checked that none of the many copies of libz in our tree suffer from the same bug, after deraadt@ asked. Bugfix patch from Olivier Taibi <oli at olitb dot net> on bugs@. OK millert@.
2019-06-01Fix warnings when building zlib with ZLIB_CONST definedJeremie Courreges-Anglas
Probably not very useful (given the lack of feedback) but feels more correct. Kernel part tested with option ZLIB_CONST.
2019-05-12Add ZLIB_CONSTJeremie Courreges-Anglas
Introduced in zlib-1.2.5.2, used by a few ports. ok deraadt@
2018-03-16improve markup quality in the cases found by the new "--" style messageIngo Schwarze
2017-06-11Add missing .Fn markup to in() and out(); found with mandoc -Tlint.Ingo Schwarze
Delete useless \*(Gt and \*(Lt while here.
2016-09-14Generate pkg-config files at build time like everything else. ThisMartin Natano
avoids permission problems due to the build and install stages being run by different users. ok deraadt jasper
2016-09-04only regen pkg-config files when required; ok jasperMartin Natano
2016-03-30for some time now mandoc has not required MLINKS to functionJason McIntyre
correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung
2015-11-10update NAME section to include all documented functions,Jason McIntyre
or otherwise change Dt to reflect the name of an existing function; feedback/ok schwarze
2015-09-10use .In rather than .Fd #includeIngo Schwarze
2015-08-21Improve zcalloc(), making it always reallocarray, never calloc().Theo de Raadt
millert and myself checked for code which expects zero'd memory, none found. Tighten the size == 0, count == 0 checking as well Discussed with djm, tedu, otto, ok millert
2015-02-15Use "In" to mark up include files, instead of wrongly wrapping with Aq.Anthony J. Bentley
Aq is not the same as <> in non-ASCII situations, so this caused incorrect output in some places. And it provided no semantics besides. ok schwarze@
2013-08-13Switch time_t, ino_t, clock_t, and struct kevent's ident and dataPhilip Guenther
members to 64bit types. Assign new syscall numbers for (almost all) the syscalls that involve the affected types, including anything with time_t, timeval, itimerval, timespec, rusage, dirent, stat, or kevent arguments. Add a d_off member to struct dirent and replace getdirentries() with getdents(), thus immensely simplifying and accelerating telldir/seekdir. Build perl with -DBIG_TIME. Bump the major on every single base library: the compat bits included here are only good enough to make the transition; the T32 compat option will be burned as soon as we've reached the new world are are happy with the snapshots for all architectures. DANGER: ABI incompatibility. Updating to this kernel requires extra work or you won't be able to login: install a snapshot instead. Much assistance in fixing userland issues from deraadt@ and tedu@ and build assistance from todd@ and otto@
2013-07-16use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@Ingo Schwarze
2012-09-27last stage of rfc changes, using consistent Rs/Re blocks, and moving theJason McIntyre
references into a STANDARDS section;
2012-08-21flesh out the rfc sections;Jason McIntyre
2012-08-12Use .Lk for HTTP hyperlinks, not .Pa.Ingo Schwarze
Most of the patch from Arto Jonsson <ajonsson at kapsi dot fi>. jmc@ agrees in principle that .Lk is the right macro to use. While here, update a few broken links, and add missing markup at a few places.
2012-08-02remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets.Okan Demirmen
ok guenther@
2011-07-07fix typos; while here, improve spacing in comments.Igor Sobrado
changes to libevent and zlib headers sent to the upstream maintainers. ok jmc@ (for typos), millert@
2011-05-26remove hack to test and create /usr/lib/pkgconfig/ if needed, it's been sixJasper Lievisse Adriaanse
months since it was introduced so it's safe to assume people have this dir now. ok deraadt@
2011-05-05Make this script more generic and minimize differences betweenJasper Lievisse Adriaanse
the openssl and libz versions: - use a generic ${lib_version} - define ${version_file} to look run ${version_re} on to acquire the library version. - add license - remove unused -k flag no change in generated files ok sthen@
2011-05-04Add a zlib.pc pkg-config file, based what newer zlibs ship.Jasper Lievisse Adriaanse
tested by landry@ in a bulk. ok miod@ sthen@
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
2007-11-26typos; ok jmc@Martynas Venckus
sys/netinet/in_pcb.c and sys/net/bridgestp.c ok henning@ sys/dev/pci/bktr/* ok jakemsr@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-01-24+.Xr gzip 1Jason McIntyre
2005-11-24use WANTLINT= (on all architectures)Theo de Raadt
2005-07-20add MLINKS for new(ly documented) functions;Jason McIntyre
2005-07-20sync with zlib.h update (zlib-1.2.3);Jason McIntyre
2005-07-20Update to zlib 1.2.3; OK deraadt@Todd C. Miller
2005-07-06Fix bounds check for incomplete code sets so they cannot overflow the codesTodd C. Miller
array. From Mark Adler.
2004-12-03sync w/ zlib.h -r 1.8;Jason McIntyre
2004-12-03update to zlib-1.21 (we already have the CAN-2004-0797 security fixes)Damien Miller
"in it goes" deraadt@, in the near-total absence of feedback from others
2004-12-03this page documents zlib 1.2.1, not 1.1.4;Jason McIntyre
2004-08-26Fix for DoS caused by incorrect error handling. From Dmitry V. Levin.Otto Moerbeek
ok miller@ henning@
2004-07-13errno changes, lib major version bumps, and general flag dayMarco S Hyman
To build you must: cd /usr/src && make obj && make includes cd lib/libc && make depend && make && NOMAN=1 sudo make install cd /usr/src && make build
2004-01-29some fixes from wiz@netbsd, and a couple other bits;Jason McIntyre
2003-12-17add MLINKS for new functions;Jason McIntyre
2003-12-17sync man page with update to zlib 1.2.1;Jason McIntyre
2003-12-17HAVE_UNISTD_H is unused; nuke itTodd C. Miller
2003-12-17sync with sys/lib/libz; adds #ifdef SMALL and one more #ifndef SLOWTodd C. Miller
henning@ OK
2003-12-17#ifndef SLOW for consistency with sys/lib/libz/, not used for now;Henning Brauer
millert@ agrees
2003-12-16Remove old definition of crc_table that conflicts with new one whenTodd C. Miller
DYNAMIC_CRC_TABLE is defined. OK henning@
2003-12-16bump majorHenning Brauer
ok millert@ (previous as well)
2003-12-16total_in and total_out need to be off_t, not unsigned long.Henning Brauer
some bugs return: i fixed the same some months ago when we had this other gzip there. this bug resulted in wrong size stats for > 4GB files, and in the case that the input file was > 4GB and could be compressed to < 4GB gzip not zipping it as it would grow in its eyes.
2003-12-16update to zlib 1.2.1Henning Brauer
ok millert@ deraadt@
2003-10-04set flag that we are restarting; pr 2886, also same diff found in netbsd;Theo de Raadt
how did this sit around so long??
2003-10-03updated URL for zlib from wiz@netbsd;Jason McIntyre
2003-10-01oops, didn't change the Makefile.Jason McIntyre
add MLINKS to compress.3. rescued by deraadt@