Files
freebsd/usr.bin/xinstall
Lexi Winter 2296c39a9e xinstall: 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 xinstall during
the bootstrap build, since it assumes the return value is always
a mutable pointer.

As the returned pointer is never used to modify the value, fix this
by making the temporary variable const.

MFC after:	1 week
Reviewed by:	ray, markj, emaste
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D58492
2026-08-03 15:07:09 +01:00
..
2026-07-21 08:03:44 +00:00
2026-07-21 08:03:44 +00:00
2026-08-03 15:07:09 +01:00