Files
freebsd/contrib/libucl
Lexi Winter bcee560d39 libucl: Const correctness for C23
On some platforms, e.g. Linux Clang 22.1.8 / glibc 2.43, strchr()
now implements the C23 behaviour where passing a const pointer to
strchr() also returns a const pointer.  This breaks libucl during
the bootstrap build, since it assumes the return value is always
a mutable pointer.

Instead of assigning directly to params->prefix (which is const),
use a non-const temporary variable and assign the result after
we've done the modification.

MFC after:	1 week
Reviewed by:	bofh, bapt
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D58490
2026-08-03 15:05:09 +01:00
..
…
…
2026-08-03 15:05:09 +01:00
2026-07-22 03:49:53 +02:00
…