CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2026/03/19 09:14:51
Modified files:
sys/lib/libz : compress.c crc32.c deflate.c deflate.h
infback.c inffast.c inffixed.h inflate.c
inftrees.c inftrees.h trees.c zconf.h zlib.h
zutil.c zutil.h
Log message:
libz: sync with userland, ok bluhm deraadt
Two new diffs to upstream in sys/:
1. Remove the new '#warning zlib not thread-safe': amd64 boot blocks
are compiled with -Werror and this warning breaks the build. Since
there are no threads in the boot blocks this warning (for ZLB-01-004)
is irrelevant to OpenBSD.
2. In the kernel, compress.c is compiled without NULL in scope which
breaks due to newly added NULL checks in compress2_z(), so I
added an #include <sys/_null.h> under the existing #ifdef _KERNEL
in zutil.h. Not sure if sys/param.h or something else is preferred.