summaryrefslogtreecommitdiffstats
path: root/sys/lib/libz
AgeCommit message (Collapse)AuthorFilesLines
2019-06-01Fix warnings when building zlib with ZLIB_CONST definedjca3-8/+8
Probably not very useful (given the lack of feedback) but feels more correct. Kernel part tested with option ZLIB_CONST.
2019-05-12Add ZLIB_CONSTjca2-6/+13
Introduced in zlib-1.2.5.2, used by a few ports. ok deraadt@
2016-03-23remove vax handlingnatano1-5/+2
ok millert
2016-03-14Change a bunch of (<blah> *)0 to NULL.krw2-6/+6
ok beck@ deraadt@
2015-03-14Remove some includes include-what-you-use claims don'tjsg1-1/+0
have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@
2015-01-20Revert some $OpenBSD$ additions about which there are doubts.krw1-1/+0
Suggested by deraadt@
2015-01-20Missing $OpenBSD$'s.krw1-0/+1
ok deraadt@
2014-07-13obvious conversion to mallocarray()deraadt1-4/+1
2014-07-12guenther (who also should have been credited in previous free size commits)tedu1-1/+1
noticed that i missed committing one file.
2014-05-21Typo in comment noticed during some recent hibernate debugging. No codemlarkin1-2/+2
change.
2011-07-16Make the updated zlib compile with a debug kernel.jsing4-28/+28
ok deraadt@
2011-07-07Replace the cruddy old sys/net/zlib.[ch]. We now use the sys/lib/libzderaadt12-10/+3853
code. Missing chunks of the API are imported from the libc version, with a few #ifdef's to port it into the kernel environment. The bootblocks already used the newer code, and should encounter no surprises since there are so few changes to the existing files. In the kernel, ipcomp and kernel ppp are changed to the new API. ipcomp has been tested. ok tedu the brave
2006-11-29make it compile w/ debug defined; miod@ okmickey1-2/+2
2006-07-20adler32_combine() is not used by anything AND requires qdivrem so ifdef it out; millert@ deraadt@ okmickey1-1/+3
2005-07-20Update to zlib 1.2.3; OK deraadt@millert11-119/+560
2005-07-06Fix bounds check for incomplete code sets so they cannot overflow the codesmillert1-2/+2
array. From Mark Adler.
2004-12-03zlib-1.21 here toodjm8-97/+135
2004-08-26Fix for DoS caused by incorrect error handling. From Dmitry V. Levin.otto2-1/+7
ok miller@ henning@
2004-03-24Do not check for writing to address zero on vax, since this is wheremiod1-2/+5
we want to be able to load a .gz kernel. ok deraadt@
2003-12-18Move -DDYNAMIC_CRC_TABLE into the main libz Makefilemillert1-2/+4
2003-12-17#include <lib/libsa/stand.h> instead of just <stand.h> so we can avoidmillert1-2/+2
adding an extra -I for each libz Makefile. This is how the old kernel libz was.
2003-12-17No need to build infback.c here after all.millert1-2/+2
2003-12-17_ZLIB_PRIVATE is not used anywheremillert1-2/+2
2003-12-16Add #ifdef SMALL and #ifdef SLOW and include sys/unistd.h instead of unistd.hmillert4-5/+109
2003-12-16Update to zlib 1.2.1millert21-2417/+3983
2003-12-16shrink error strings a lot; ok millertderaadt6-9/+91
2002-04-29Delete directories created by cleandir to prevent permission problemshugh1-1/+3
during sudo builds. Verified by Valchev and sanctioned by Shalayeff.
2002-03-12Update to zlib-1.1.4millert17-50/+69
2002-01-18Fix some zlib memory leaks, originally from Mark Adlermillert1-2/+7
2000-11-08Include stand.h from lib/libsa/stand.hart1-2/+2
2000-03-03$OpenBSD$todd4-4/+4
1999-02-14make z_error be a panicmickey1-1/+2
1999-02-14fix -DDEBUG case, ie remove L-user-and stuff such as fprintf and stderr.mickey5-38/+34
another obvious fix would be porting stdio file functions into stand library, so code would go smooth from -lz, but former seems to be a minimal-change-compliant approach.
1999-01-25fix a real bad bug, which consists of return value frommickey1-2/+2
read() /* oread() */ not being checked for errors/eof or not checked for error value (-1), which would result in bad kernels loaded, i/o errors not reported and such.
1998-09-08Let's commit the correct files, shall we. This is the real zlib-1.1.3...millert18-496/+886
1998-09-08include stand.h if -D_STANDALONEmillert1-1/+5
1998-09-08Update from zlib-1.1.3. These should really just be references to ../../../lib/libz/*millert16-54/+23
1998-05-30more const here and there; so would benefit everyonemickey5-17/+17
1997-11-07$OpenBSD$niklas16-4/+28
1997-08-04remove that i386 defines, we can survive w/o 'emmickey1-16/+1
1997-07-18no user includes in standalonemickey1-1/+5
1997-07-18cumulative CFLAGSmickey1-2/+2
1997-06-19Fix a repeatbility problem associated with doing make cleandir of sys/lib/* -grr1-2/+2
mkdir fails if the destination already exists. It could be argued that having make cleandir rm the directory would be appropriate, but there really shouldn't be any dynamic fooling around with the directory structure. Fixes PR sparc/231 by Marshal Midden, though probably MI.
1997-05-05Back out depend/clean changes.millert1-3/+3
1997-05-04Change clean/depend targets to allow inclusion of Makefile.incmillert1-3/+3
where there is already a depend: target.
1997-04-03Quote CC in args to makebriggs1-3/+3
1997-04-02save 4k space for i386!mickey1-0/+16
1997-04-02#ifndef localmickey1-1/+3
#define local static #endif
1997-02-07s/DEBUG/DEBUG_ZLIB/gmickey4-7/+7
1997-02-07quote [AC]FLAGS and others...mickey1-4/+4