Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-10] src/common/dist/zlib



Module Name:    src
Committed By:   martin
Date:           Sat Nov 22 16:10:56 UTC 2025

Modified Files:
        src/common/dist/zlib [netbsd-10]: zconf.h

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #1195):

        common/dist/zlib/zconf.h: revision 1.6

zlib: Ignore HAVE_UNISTD_H and HAVE_STDARG_H in zconf.h.

This leaves our build of libz.so.1 intact, with no ABI changes --
z_off_t is still long, internally.  But it avoids exposing a
different ABI to callers that use autoconf and define HAVE_UNISTD_H,
so they don't accidentally get z_off_t as off_t.

Later, we can unconditionally take z_off_t to be off_t, to enable
64-bit file access on LP32 platforms, which we should have done a
long time ago -- but that requires a shared library major bump (or
versioning symbols with compat wrappers) because it changes the ABI.

PR lib/59711: "#define HAVE_UNISTD_H 1" breaks 32-bit libz


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.4.2.1 src/common/dist/zlib/zconf.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index