History log of /openbsd-current/lib/libz/gzguts.h
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1.13 15-Mar-2024 tb

zlib: sync with upstream

More Windows #ifdef shuffling. Only one change relevant for OpenBSD:
Make deflateBound() more conservative and handle Z_STREAM_END.


Revision tags: OPENBSD_7_5_BASE
# 1.12 10-Feb-2024 tb

libz: sync with upstream

- fix type of local variable in deflate_stored()
- more Windows compat shuffling
- wrap overlong line in gzread


# 1.11 09-Feb-2024 tb

pull in another upstream tweak for windows


# 1.10 09-Feb-2024 tb

zlib: sync with upstream


# 1.9 07-Feb-2024 tb

sync with upstream


# 1.8 23-Jan-2024 tb

Update to zlib 1.3.1

Since we already pulled in all fixes, this only bumps version/magic numbers
and copyright years. The fixes relevant to OpenBSD are:

- Fix bug in inflateSync() for data held in bit buffer
- Add LIT_MEM define to use more memory for a small deflate speedup
- Add bounds checking to ERR_MSG() macro, used by zError()
- Various portability and appearance improvements


# 1.7 21-Jan-2024 tb

libz: sync with upstream's develop branch as of Jan 18


Revision tags: OPENBSD_7_4_BASE
# 1.6 30-Jul-2023 tb

Pull in two #undef from upstream's develop branch

ok guenther


# 1.5 25-Apr-2023 tb

Update libz to the HEAD of the develop branch

This mostly moves from K&R prototypes to ANSI prototypes and includes a
handful of bug fixes that are nice to have. The corresponding sys commit
will allow us to undo some hacks that jca applied to make the kernel build
with clang 15.

discussed with deraadt


Revision tags: OPENBSD_7_3_BASE
# 1.4 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


Revision tags: OPENBSD_7_2_BASE
# 1.3 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.2 04-Jul-2021 tb

Add missing RCS tags


# 1.1 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


# 1.12 10-Feb-2024 tb

libz: sync with upstream

- fix type of local variable in deflate_stored()
- more Windows compat shuffling
- wrap overlong line in gzread


# 1.11 09-Feb-2024 tb

pull in another upstream tweak for windows


# 1.10 09-Feb-2024 tb

zlib: sync with upstream


# 1.9 07-Feb-2024 tb

sync with upstream


# 1.8 23-Jan-2024 tb

Update to zlib 1.3.1

Since we already pulled in all fixes, this only bumps version/magic numbers
and copyright years. The fixes relevant to OpenBSD are:

- Fix bug in inflateSync() for data held in bit buffer
- Add LIT_MEM define to use more memory for a small deflate speedup
- Add bounds checking to ERR_MSG() macro, used by zError()
- Various portability and appearance improvements


# 1.7 21-Jan-2024 tb

libz: sync with upstream's develop branch as of Jan 18


Revision tags: OPENBSD_7_4_BASE
# 1.6 30-Jul-2023 tb

Pull in two #undef from upstream's develop branch

ok guenther


# 1.5 25-Apr-2023 tb

Update libz to the HEAD of the develop branch

This mostly moves from K&R prototypes to ANSI prototypes and includes a
handful of bug fixes that are nice to have. The corresponding sys commit
will allow us to undo some hacks that jca applied to make the kernel build
with clang 15.

discussed with deraadt


Revision tags: OPENBSD_7_3_BASE
# 1.4 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


Revision tags: OPENBSD_7_2_BASE
# 1.3 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.2 04-Jul-2021 tb

Add missing RCS tags


# 1.1 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


# 1.9 07-Feb-2024 tb

sync with upstream


# 1.8 23-Jan-2024 tb

Update to zlib 1.3.1

Since we already pulled in all fixes, this only bumps version/magic numbers
and copyright years. The fixes relevant to OpenBSD are:

- Fix bug in inflateSync() for data held in bit buffer
- Add LIT_MEM define to use more memory for a small deflate speedup
- Add bounds checking to ERR_MSG() macro, used by zError()
- Various portability and appearance improvements


# 1.7 21-Jan-2024 tb

libz: sync with upstream's develop branch as of Jan 18


Revision tags: OPENBSD_7_4_BASE
# 1.6 30-Jul-2023 tb

Pull in two #undef from upstream's develop branch

ok guenther


# 1.5 25-Apr-2023 tb

Update libz to the HEAD of the develop branch

This mostly moves from K&R prototypes to ANSI prototypes and includes a
handful of bug fixes that are nice to have. The corresponding sys commit
will allow us to undo some hacks that jca applied to make the kernel build
with clang 15.

discussed with deraadt


Revision tags: OPENBSD_7_3_BASE
# 1.4 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


Revision tags: OPENBSD_7_2_BASE
# 1.3 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.2 04-Jul-2021 tb

Add missing RCS tags


# 1.1 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


# 1.8 23-Jan-2024 tb

Update to zlib 1.3.1

Since we already pulled in all fixes, this only bumps version/magic numbers
and copyright years. The fixes relevant to OpenBSD are:

- Fix bug in inflateSync() for data held in bit buffer
- Add LIT_MEM define to use more memory for a small deflate speedup
- Add bounds checking to ERR_MSG() macro, used by zError()
- Various portability and appearance improvements


# 1.7 21-Jan-2024 tb

libz: sync with upstream's develop branch as of Jan 18


Revision tags: OPENBSD_7_4_BASE
# 1.6 30-Jul-2023 tb

Pull in two #undef from upstream's develop branch

ok guenther


# 1.5 25-Apr-2023 tb

Update libz to the HEAD of the develop branch

This mostly moves from K&R prototypes to ANSI prototypes and includes a
handful of bug fixes that are nice to have. The corresponding sys commit
will allow us to undo some hacks that jca applied to make the kernel build
with clang 15.

discussed with deraadt


Revision tags: OPENBSD_7_3_BASE
# 1.4 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


Revision tags: OPENBSD_7_2_BASE
# 1.3 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.2 04-Jul-2021 tb

Add missing RCS tags


# 1.1 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


# 1.7 21-Jan-2024 tb

libz: sync with upstream's develop branch as of Jan 18


Revision tags: OPENBSD_7_4_BASE
# 1.6 30-Jul-2023 tb

Pull in two #undef from upstream's develop branch

ok guenther


# 1.5 25-Apr-2023 tb

Update libz to the HEAD of the develop branch

This mostly moves from K&R prototypes to ANSI prototypes and includes a
handful of bug fixes that are nice to have. The corresponding sys commit
will allow us to undo some hacks that jca applied to make the kernel build
with clang 15.

discussed with deraadt


Revision tags: OPENBSD_7_3_BASE
# 1.4 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


Revision tags: OPENBSD_7_2_BASE
# 1.3 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.2 04-Jul-2021 tb

Add missing RCS tags


# 1.1 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


# 1.6 30-Jul-2023 tb

Pull in two #undef from upstream's develop branch

ok guenther


# 1.5 25-Apr-2023 tb

Update libz to the HEAD of the develop branch

This mostly moves from K&R prototypes to ANSI prototypes and includes a
handful of bug fixes that are nice to have. The corresponding sys commit
will allow us to undo some hacks that jca applied to make the kernel build
with clang 15.

discussed with deraadt


Revision tags: OPENBSD_7_3_BASE
# 1.4 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


Revision tags: OPENBSD_7_2_BASE
# 1.3 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.2 04-Jul-2021 tb

Add missing RCS tags


# 1.1 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


# 1.5 25-Apr-2023 tb

Update libz to the HEAD of the develop branch

This mostly moves from K&R prototypes to ANSI prototypes and includes a
handful of bug fixes that are nice to have. The corresponding sys commit
will allow us to undo some hacks that jca applied to make the kernel build
with clang 15.

discussed with deraadt


Revision tags: OPENBSD_7_3_BASE
# 1.4 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


Revision tags: OPENBSD_7_2_BASE
# 1.3 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.2 04-Jul-2021 tb

Add missing RCS tags


# 1.1 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


# 1.4 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


Revision tags: OPENBSD_7_2_BASE
# 1.3 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.2 04-Jul-2021 tb

Add missing RCS tags


# 1.1 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