History log of /openbsd-current/sys/lib/libz/inftrees.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.23 23-Jan-2024 tb

Sync with userland


# 1.22 18-Nov-2023 tb

sync zlib with userland


Revision tags: OPENBSD_7_4_BASE
# 1.21 20-Aug-2023 tb

Sync zlib 1.3 with userland


# 1.20 25-Apr-2023 tb

zlib: sync with src


Revision tags: OPENBSD_7_3_BASE
# 1.19 23-Oct-2022 tb

Drop RCS ids in upstream zlib source

We're not maintaining a this as a fork, it's upstream source with a handful
of patches. Thus, the RCS ids aren't particularly useful or important. They
are a bit of a maintenance burden and generate noise in diffs.

ok kn, no objection millert, "kill" guess who


# 1.18 20-Oct-2022 tb

Sync sys libz with base


Revision tags: OPENBSD_7_2_BASE
# 1.17 08-May-2022 tb

Update to zlib 1.2.12

Build tests by myself for amd64 and arm64, sthen and inoguchi for i386
and gkoehler for macppc and powerpc64, thanks!

Detailed changelog is part of the committed diff.


Revision tags: OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.16 04-Jul-2021 tb

Update libz to zlib 1.2.11 and reapply local patches as far as this
made sense.

Tested in snaps for a few days. deraadt helped with fitting things on
floppies and jmatthew found a bug I introduced.

ok deraadt


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.15 07-Jul-2011 deraadt

Replace the cruddy old sys/net/zlib.[ch]. We now use the sys/lib/libz
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


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.14 20-Jul-2005 millert

Update to zlib 1.2.3; OK deraadt@


# 1.13 06-Jul-2005 millert

Fix bounds check for incomplete code sets so they cannot overflow the codes
array. From Mark Adler.


Revision tags: OPENBSD_3_7_BASE
# 1.12 03-Dec-2004 djm

branches: 1.12.2;
zlib-1.21 here too


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE SMP_SYNC_A SMP_SYNC_B
# 1.11 16-Dec-2003 millert

branches: 1.11.4;
Update to zlib 1.2.1


# 1.10 16-Dec-2003 deraadt

shrink error strings a lot; ok millert


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE UBC_SYNC_A UBC_SYNC_B
# 1.9 12-Mar-2002 millert

Update to zlib-1.1.4


Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE SMP_BASE UBC_BASE kame_19991208
# 1.8 08-Sep-1998 millert

branches: 1.8.8; 1.8.14; 1.8.16; 1.8.18;
Let's commit the correct files, shall we. This is the real zlib-1.1.3...


# 1.7 08-Sep-1998 millert

Update from zlib-1.1.3. These should really just be references to ../../../lib/libz/*


# 1.6 30-May-1998 mickey

more const here and there; so would benefit everyone


Revision tags: OPENBSD_2_3_BASE
# 1.5 07-Nov-1997 niklas

$OpenBSD$


Revision tags: OPENBSD_2_2_BASE
# 1.4 04-Aug-1997 mickey

remove that i386 defines, we can survive w/o 'em


Revision tags: OPENBSD_2_1_BASE
# 1.3 02-Apr-1997 mickey

save 4k space for i386!


# 1.2 07-Feb-1997 mickey

s/DEBUG/DEBUG_ZLIB/g


# 1.1 06-Feb-1997 downsj

Add libz and make libsa aware of it. From NetBSD.


# 1.22 18-Nov-2023 tb

sync zlib with userland


Revision tags: OPENBSD_7_4_BASE
# 1.21 20-Aug-2023 tb

Sync zlib 1.3 with userland


# 1.20 25-Apr-2023 tb

zlib: sync with src


Revision tags: OPENBSD_7_3_BASE
# 1.19 23-Oct-2022 tb

Drop RCS ids in upstream zlib source

We're not maintaining a this as a fork, it's upstream source with a handful
of patches. Thus, the RCS ids aren't particularly useful or important. They
are a bit of a maintenance burden and generate noise in diffs.

ok kn, no objection millert, "kill" guess who


# 1.18 20-Oct-2022 tb

Sync sys libz with base


Revision tags: OPENBSD_7_2_BASE
# 1.17 08-May-2022 tb

Update to zlib 1.2.12

Build tests by myself for amd64 and arm64, sthen and inoguchi for i386
and gkoehler for macppc and powerpc64, thanks!

Detailed changelog is part of the committed diff.


Revision tags: OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.16 04-Jul-2021 tb

Update libz to zlib 1.2.11 and reapply local patches as far as this
made sense.

Tested in snaps for a few days. deraadt helped with fitting things on
floppies and jmatthew found a bug I introduced.

ok deraadt


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.15 07-Jul-2011 deraadt

Replace the cruddy old sys/net/zlib.[ch]. We now use the sys/lib/libz
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


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.14 20-Jul-2005 millert

Update to zlib 1.2.3; OK deraadt@


# 1.13 06-Jul-2005 millert

Fix bounds check for incomplete code sets so they cannot overflow the codes
array. From Mark Adler.


Revision tags: OPENBSD_3_7_BASE
# 1.12 03-Dec-2004 djm

branches: 1.12.2;
zlib-1.21 here too


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE SMP_SYNC_A SMP_SYNC_B
# 1.11 16-Dec-2003 millert

branches: 1.11.4;
Update to zlib 1.2.1


# 1.10 16-Dec-2003 deraadt

shrink error strings a lot; ok millert


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE UBC_SYNC_A UBC_SYNC_B
# 1.9 12-Mar-2002 millert

Update to zlib-1.1.4


Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE SMP_BASE UBC_BASE kame_19991208
# 1.8 08-Sep-1998 millert

branches: 1.8.8; 1.8.14; 1.8.16; 1.8.18;
Let's commit the correct files, shall we. This is the real zlib-1.1.3...


# 1.7 08-Sep-1998 millert

Update from zlib-1.1.3. These should really just be references to ../../../lib/libz/*


# 1.6 30-May-1998 mickey

more const here and there; so would benefit everyone


Revision tags: OPENBSD_2_3_BASE
# 1.5 07-Nov-1997 niklas

$OpenBSD$


Revision tags: OPENBSD_2_2_BASE
# 1.4 04-Aug-1997 mickey

remove that i386 defines, we can survive w/o 'em


Revision tags: OPENBSD_2_1_BASE
# 1.3 02-Apr-1997 mickey

save 4k space for i386!


# 1.2 07-Feb-1997 mickey

s/DEBUG/DEBUG_ZLIB/g


# 1.1 06-Feb-1997 downsj

Add libz and make libsa aware of it. From NetBSD.


# 1.21 20-Aug-2023 tb

Sync zlib 1.3 with userland


# 1.20 25-Apr-2023 tb

zlib: sync with src


Revision tags: OPENBSD_7_3_BASE
# 1.19 23-Oct-2022 tb

Drop RCS ids in upstream zlib source

We're not maintaining a this as a fork, it's upstream source with a handful
of patches. Thus, the RCS ids aren't particularly useful or important. They
are a bit of a maintenance burden and generate noise in diffs.

ok kn, no objection millert, "kill" guess who


# 1.18 20-Oct-2022 tb

Sync sys libz with base


Revision tags: OPENBSD_7_2_BASE
# 1.17 08-May-2022 tb

Update to zlib 1.2.12

Build tests by myself for amd64 and arm64, sthen and inoguchi for i386
and gkoehler for macppc and powerpc64, thanks!

Detailed changelog is part of the committed diff.


Revision tags: OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.16 04-Jul-2021 tb

Update libz to zlib 1.2.11 and reapply local patches as far as this
made sense.

Tested in snaps for a few days. deraadt helped with fitting things on
floppies and jmatthew found a bug I introduced.

ok deraadt


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.15 07-Jul-2011 deraadt

Replace the cruddy old sys/net/zlib.[ch]. We now use the sys/lib/libz
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


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.14 20-Jul-2005 millert

Update to zlib 1.2.3; OK deraadt@


# 1.13 06-Jul-2005 millert

Fix bounds check for incomplete code sets so they cannot overflow the codes
array. From Mark Adler.


Revision tags: OPENBSD_3_7_BASE
# 1.12 03-Dec-2004 djm

branches: 1.12.2;
zlib-1.21 here too


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE SMP_SYNC_A SMP_SYNC_B
# 1.11 16-Dec-2003 millert

branches: 1.11.4;
Update to zlib 1.2.1


# 1.10 16-Dec-2003 deraadt

shrink error strings a lot; ok millert


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE UBC_SYNC_A UBC_SYNC_B
# 1.9 12-Mar-2002 millert

Update to zlib-1.1.4


Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE SMP_BASE UBC_BASE kame_19991208
# 1.8 08-Sep-1998 millert

branches: 1.8.8; 1.8.14; 1.8.16; 1.8.18;
Let's commit the correct files, shall we. This is the real zlib-1.1.3...


# 1.7 08-Sep-1998 millert

Update from zlib-1.1.3. These should really just be references to ../../../lib/libz/*


# 1.6 30-May-1998 mickey

more const here and there; so would benefit everyone


Revision tags: OPENBSD_2_3_BASE
# 1.5 07-Nov-1997 niklas

$OpenBSD$


Revision tags: OPENBSD_2_2_BASE
# 1.4 04-Aug-1997 mickey

remove that i386 defines, we can survive w/o 'em


Revision tags: OPENBSD_2_1_BASE
# 1.3 02-Apr-1997 mickey

save 4k space for i386!


# 1.2 07-Feb-1997 mickey

s/DEBUG/DEBUG_ZLIB/g


# 1.1 06-Feb-1997 downsj

Add libz and make libsa aware of it. From NetBSD.


# 1.20 25-Apr-2023 tb

zlib: sync with src


Revision tags: OPENBSD_7_3_BASE
# 1.19 23-Oct-2022 tb

Drop RCS ids in upstream zlib source

We're not maintaining a this as a fork, it's upstream source with a handful
of patches. Thus, the RCS ids aren't particularly useful or important. They
are a bit of a maintenance burden and generate noise in diffs.

ok kn, no objection millert, "kill" guess who


# 1.18 20-Oct-2022 tb

Sync sys libz with base


Revision tags: OPENBSD_7_2_BASE
# 1.17 08-May-2022 tb

Update to zlib 1.2.12

Build tests by myself for amd64 and arm64, sthen and inoguchi for i386
and gkoehler for macppc and powerpc64, thanks!

Detailed changelog is part of the committed diff.


Revision tags: OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.16 04-Jul-2021 tb

Update libz to zlib 1.2.11 and reapply local patches as far as this
made sense.

Tested in snaps for a few days. deraadt helped with fitting things on
floppies and jmatthew found a bug I introduced.

ok deraadt


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.15 07-Jul-2011 deraadt

Replace the cruddy old sys/net/zlib.[ch]. We now use the sys/lib/libz
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


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.14 20-Jul-2005 millert

Update to zlib 1.2.3; OK deraadt@


# 1.13 06-Jul-2005 millert

Fix bounds check for incomplete code sets so they cannot overflow the codes
array. From Mark Adler.


Revision tags: OPENBSD_3_7_BASE
# 1.12 03-Dec-2004 djm

branches: 1.12.2;
zlib-1.21 here too


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE SMP_SYNC_A SMP_SYNC_B
# 1.11 16-Dec-2003 millert

branches: 1.11.4;
Update to zlib 1.2.1


# 1.10 16-Dec-2003 deraadt

shrink error strings a lot; ok millert


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE UBC_SYNC_A UBC_SYNC_B
# 1.9 12-Mar-2002 millert

Update to zlib-1.1.4


Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE SMP_BASE UBC_BASE kame_19991208
# 1.8 08-Sep-1998 millert

branches: 1.8.8; 1.8.14; 1.8.16; 1.8.18;
Let's commit the correct files, shall we. This is the real zlib-1.1.3...


# 1.7 08-Sep-1998 millert

Update from zlib-1.1.3. These should really just be references to ../../../lib/libz/*


# 1.6 30-May-1998 mickey

more const here and there; so would benefit everyone


Revision tags: OPENBSD_2_3_BASE
# 1.5 07-Nov-1997 niklas

$OpenBSD$


Revision tags: OPENBSD_2_2_BASE
# 1.4 04-Aug-1997 mickey

remove that i386 defines, we can survive w/o 'em


Revision tags: OPENBSD_2_1_BASE
# 1.3 02-Apr-1997 mickey

save 4k space for i386!


# 1.2 07-Feb-1997 mickey

s/DEBUG/DEBUG_ZLIB/g


# 1.1 06-Feb-1997 downsj

Add libz and make libsa aware of it. From NetBSD.


# 1.19 23-Oct-2022 tb

Drop RCS ids in upstream zlib source

We're not maintaining a this as a fork, it's upstream source with a handful
of patches. Thus, the RCS ids aren't particularly useful or important. They
are a bit of a maintenance burden and generate noise in diffs.

ok kn, no objection millert, "kill" guess who


# 1.18 20-Oct-2022 tb

Sync sys libz with base


Revision tags: OPENBSD_7_2_BASE
# 1.17 08-May-2022 tb

Update to zlib 1.2.12

Build tests by myself for amd64 and arm64, sthen and inoguchi for i386
and gkoehler for macppc and powerpc64, thanks!

Detailed changelog is part of the committed diff.


Revision tags: OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.16 04-Jul-2021 tb

Update libz to zlib 1.2.11 and reapply local patches as far as this
made sense.

Tested in snaps for a few days. deraadt helped with fitting things on
floppies and jmatthew found a bug I introduced.

ok deraadt


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.15 07-Jul-2011 deraadt

Replace the cruddy old sys/net/zlib.[ch]. We now use the sys/lib/libz
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


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.14 20-Jul-2005 millert

Update to zlib 1.2.3; OK deraadt@


# 1.13 06-Jul-2005 millert

Fix bounds check for incomplete code sets so they cannot overflow the codes
array. From Mark Adler.


Revision tags: OPENBSD_3_7_BASE
# 1.12 03-Dec-2004 djm

branches: 1.12.2;
zlib-1.21 here too


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE SMP_SYNC_A SMP_SYNC_B
# 1.11 16-Dec-2003 millert

branches: 1.11.4;
Update to zlib 1.2.1


# 1.10 16-Dec-2003 deraadt

shrink error strings a lot; ok millert


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE UBC_SYNC_A UBC_SYNC_B
# 1.9 12-Mar-2002 millert

Update to zlib-1.1.4


Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE SMP_BASE UBC_BASE kame_19991208
# 1.8 08-Sep-1998 millert

branches: 1.8.8; 1.8.14; 1.8.16; 1.8.18;
Let's commit the correct files, shall we. This is the real zlib-1.1.3...


# 1.7 08-Sep-1998 millert

Update from zlib-1.1.3. These should really just be references to ../../../lib/libz/*


# 1.6 30-May-1998 mickey

more const here and there; so would benefit everyone


Revision tags: OPENBSD_2_3_BASE
# 1.5 07-Nov-1997 niklas

$OpenBSD$


Revision tags: OPENBSD_2_2_BASE
# 1.4 04-Aug-1997 mickey

remove that i386 defines, we can survive w/o 'em


Revision tags: OPENBSD_2_1_BASE
# 1.3 02-Apr-1997 mickey

save 4k space for i386!


# 1.2 07-Feb-1997 mickey

s/DEBUG/DEBUG_ZLIB/g


# 1.1 06-Feb-1997 downsj

Add libz and make libsa aware of it. From NetBSD.


# 1.18 20-Oct-2022 tb

Sync sys libz with base


Revision tags: OPENBSD_7_2_BASE
# 1.17 08-May-2022 tb

Update to zlib 1.2.12

Build tests by myself for amd64 and arm64, sthen and inoguchi for i386
and gkoehler for macppc and powerpc64, thanks!

Detailed changelog is part of the committed diff.


Revision tags: OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.16 04-Jul-2021 tb

Update libz to zlib 1.2.11 and reapply local patches as far as this
made sense.

Tested in snaps for a few days. deraadt helped with fitting things on
floppies and jmatthew found a bug I introduced.

ok deraadt


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.15 07-Jul-2011 deraadt

Replace the cruddy old sys/net/zlib.[ch]. We now use the sys/lib/libz
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


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.14 20-Jul-2005 millert

Update to zlib 1.2.3; OK deraadt@


# 1.13 06-Jul-2005 millert

Fix bounds check for incomplete code sets so they cannot overflow the codes
array. From Mark Adler.


Revision tags: OPENBSD_3_7_BASE
# 1.12 03-Dec-2004 djm

branches: 1.12.2;
zlib-1.21 here too


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE SMP_SYNC_A SMP_SYNC_B
# 1.11 16-Dec-2003 millert

branches: 1.11.4;
Update to zlib 1.2.1


# 1.10 16-Dec-2003 deraadt

shrink error strings a lot; ok millert


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE UBC_SYNC_A UBC_SYNC_B
# 1.9 12-Mar-2002 millert

Update to zlib-1.1.4


Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE SMP_BASE UBC_BASE kame_19991208
# 1.8 08-Sep-1998 millert

branches: 1.8.8; 1.8.14; 1.8.16; 1.8.18;
Let's commit the correct files, shall we. This is the real zlib-1.1.3...


# 1.7 08-Sep-1998 millert

Update from zlib-1.1.3. These should really just be references to ../../../lib/libz/*


# 1.6 30-May-1998 mickey

more const here and there; so would benefit everyone


Revision tags: OPENBSD_2_3_BASE
# 1.5 07-Nov-1997 niklas

$OpenBSD$


Revision tags: OPENBSD_2_2_BASE
# 1.4 04-Aug-1997 mickey

remove that i386 defines, we can survive w/o 'em


Revision tags: OPENBSD_2_1_BASE
# 1.3 02-Apr-1997 mickey

save 4k space for i386!


# 1.2 07-Feb-1997 mickey

s/DEBUG/DEBUG_ZLIB/g


# 1.1 06-Feb-1997 downsj

Add libz and make libsa aware of it. From NetBSD.


# 1.17 08-May-2022 tb

Update to zlib 1.2.12

Build tests by myself for amd64 and arm64, sthen and inoguchi for i386
and gkoehler for macppc and powerpc64, thanks!

Detailed changelog is part of the committed diff.


Revision tags: OPENBSD_7_0_BASE OPENBSD_7_1_BASE
# 1.16 04-Jul-2021 tb

Update libz to zlib 1.2.11 and reapply local patches as far as this
made sense.

Tested in snaps for a few days. deraadt helped with fitting things on
floppies and jmatthew found a bug I introduced.

ok deraadt


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.15 07-Jul-2011 deraadt

Replace the cruddy old sys/net/zlib.[ch]. We now use the sys/lib/libz
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


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.14 20-Jul-2005 millert

Update to zlib 1.2.3; OK deraadt@


# 1.13 06-Jul-2005 millert

Fix bounds check for incomplete code sets so they cannot overflow the codes
array. From Mark Adler.


Revision tags: OPENBSD_3_7_BASE
# 1.12 03-Dec-2004 djm

branches: 1.12.2;
zlib-1.21 here too


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE SMP_SYNC_A SMP_SYNC_B
# 1.11 16-Dec-2003 millert

branches: 1.11.4;
Update to zlib 1.2.1


# 1.10 16-Dec-2003 deraadt

shrink error strings a lot; ok millert


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE UBC_SYNC_A UBC_SYNC_B
# 1.9 12-Mar-2002 millert

Update to zlib-1.1.4


Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE SMP_BASE UBC_BASE kame_19991208
# 1.8 08-Sep-1998 millert

branches: 1.8.8; 1.8.14; 1.8.16; 1.8.18;
Let's commit the correct files, shall we. This is the real zlib-1.1.3...


# 1.7 08-Sep-1998 millert

Update from zlib-1.1.3. These should really just be references to ../../../lib/libz/*


# 1.6 30-May-1998 mickey

more const here and there; so would benefit everyone


Revision tags: OPENBSD_2_3_BASE
# 1.5 07-Nov-1997 niklas

$OpenBSD$


Revision tags: OPENBSD_2_2_BASE
# 1.4 04-Aug-1997 mickey

remove that i386 defines, we can survive w/o 'em


Revision tags: OPENBSD_2_1_BASE
# 1.3 02-Apr-1997 mickey

save 4k space for i386!


# 1.2 07-Feb-1997 mickey

s/DEBUG/DEBUG_ZLIB/g


# 1.1 06-Feb-1997 downsj

Add libz and make libsa aware of it. From NetBSD.


# 1.16 04-Jul-2021 tb

Update libz to zlib 1.2.11 and reapply local patches as far as this
made sense.

Tested in snaps for a few days. deraadt helped with fitting things on
floppies and jmatthew found a bug I introduced.

ok deraadt


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
# 1.15 07-Jul-2011 deraadt

Replace the cruddy old sys/net/zlib.[ch]. We now use the sys/lib/libz
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


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.14 20-Jul-2005 millert

Update to zlib 1.2.3; OK deraadt@


# 1.13 06-Jul-2005 millert

Fix bounds check for incomplete code sets so they cannot overflow the codes
array. From Mark Adler.


Revision tags: OPENBSD_3_7_BASE
# 1.12 03-Dec-2004 djm

branches: 1.12.2;
zlib-1.21 here too


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE SMP_SYNC_A SMP_SYNC_B
# 1.11 16-Dec-2003 millert

branches: 1.11.4;
Update to zlib 1.2.1


# 1.10 16-Dec-2003 deraadt

shrink error strings a lot; ok millert


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE UBC_SYNC_A UBC_SYNC_B
# 1.9 12-Mar-2002 millert

Update to zlib-1.1.4


Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE SMP_BASE UBC_BASE kame_19991208
# 1.8 08-Sep-1998 millert

branches: 1.8.8; 1.8.14; 1.8.16; 1.8.18;
Let's commit the correct files, shall we. This is the real zlib-1.1.3...


# 1.7 08-Sep-1998 millert

Update from zlib-1.1.3. These should really just be references to ../../../lib/libz/*


# 1.6 30-May-1998 mickey

more const here and there; so would benefit everyone


Revision tags: OPENBSD_2_3_BASE
# 1.5 07-Nov-1997 niklas

$OpenBSD$


Revision tags: OPENBSD_2_2_BASE
# 1.4 04-Aug-1997 mickey

remove that i386 defines, we can survive w/o 'em


Revision tags: OPENBSD_2_1_BASE
# 1.3 02-Apr-1997 mickey

save 4k space for i386!


# 1.2 07-Feb-1997 mickey

s/DEBUG/DEBUG_ZLIB/g


# 1.1 06-Feb-1997 downsj

Add libz and make libsa aware of it. From NetBSD.


Revision tags: OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.15 07-Jul-2011 deraadt

Replace the cruddy old sys/net/zlib.[ch]. We now use the sys/lib/libz
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


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE
# 1.14 20-Jul-2005 millert

Update to zlib 1.2.3; OK deraadt@


# 1.13 06-Jul-2005 millert

Fix bounds check for incomplete code sets so they cannot overflow the codes
array. From Mark Adler.


Revision tags: OPENBSD_3_7_BASE
# 1.12 03-Dec-2004 djm

branches: 1.12.2;
zlib-1.21 here too


Revision tags: OPENBSD_3_5_BASE OPENBSD_3_6_BASE SMP_SYNC_A SMP_SYNC_B
# 1.11 16-Dec-2003 millert

branches: 1.11.4;
Update to zlib 1.2.1


# 1.10 16-Dec-2003 deraadt

shrink error strings a lot; ok millert


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE OPENBSD_3_3_BASE OPENBSD_3_4_BASE UBC_SYNC_A UBC_SYNC_B
# 1.9 12-Mar-2002 millert

Update to zlib-1.1.4


Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE OPENBSD_2_9_BASE OPENBSD_3_0_BASE SMP_BASE UBC_BASE kame_19991208
# 1.8 08-Sep-1998 millert

branches: 1.8.8; 1.8.14; 1.8.16; 1.8.18;
Let's commit the correct files, shall we. This is the real zlib-1.1.3...


# 1.7 08-Sep-1998 millert

Update from zlib-1.1.3. These should really just be references to ../../../lib/libz/*


# 1.6 30-May-1998 mickey

more const here and there; so would benefit everyone


Revision tags: OPENBSD_2_3_BASE
# 1.5 07-Nov-1997 niklas

$OpenBSD$


Revision tags: OPENBSD_2_2_BASE
# 1.4 04-Aug-1997 mickey

remove that i386 defines, we can survive w/o 'em


Revision tags: OPENBSD_2_1_BASE
# 1.3 02-Apr-1997 mickey

save 4k space for i386!


# 1.2 07-Feb-1997 mickey

s/DEBUG/DEBUG_ZLIB/g


# 1.1 06-Feb-1997 downsj

Add libz and make libsa aware of it. From NetBSD.