]> git.ipfire.org Git - thirdparty/postgresql.git/commit
strnlen() is now required
authorPeter Eisentraut <peter@eisentraut.org>
Thu, 8 Jan 2026 07:45:59 +0000 (08:45 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 8 Jan 2026 07:51:20 +0000 (08:51 +0100)
commit5e7abdac99136c63850a23c0dfdec24d81f503f1
treee49a63ad1beb258c1abbf2af964ab222de5f0103
parent639352d904c8a3d233989253f569cccbea0be123
strnlen() is now required

Remove all configure checks and workarounds for strnlen() missing.  It
is required by POSIX 2008.

Reviewed-by: Jelte Fennema-Nio <postgres@jeltef.nl>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/98ce805c-6103-421b-adc3-fcf8f3dddbe3%40eisentraut.org
configure
configure.ac
meson.build
src/include/pg_config.h.in
src/include/port.h
src/port/meson.build
src/port/strnlen.c [deleted file]