Viktor Szakats 0e2507a3c6
build: constify memchr()/strchr()/etc result variables
And a few variables around.

There remain cases where the accepted pointer is const, yet the returned
pointer is written to.

Partly addressing (glibc 2.43):
```
* For ISO C23, the functions bsearch, memchr, strchr, strpbrk, strrchr,
  strstr, wcschr, wcspbrk, wcsrchr, wcsstr and wmemchr that return
  pointers into their input arrays now have definitions as macros that
  return a pointer to a const-qualified type when the input argument is
  a pointer to a const-qualified type.
```
Ref: https://lists.gnu.org/archive/html/info-gnu/2026-01/msg00005.html

Reported-by: Rudi Heitbaum
Ref: #20420

Closes #20421
2026-01-25 12:21:54 +01:00
..
2025-12-26 22:06:09 +01:00
2025-12-26 22:06:09 +01:00
2025-12-26 22:06:09 +01:00
2025-12-26 22:06:09 +01:00
2025-12-26 22:06:09 +01:00
2025-12-26 22:06:09 +01:00
2025-12-26 22:06:09 +01:00
2026-01-22 23:44:47 +01:00
2025-12-26 22:06:09 +01:00
2025-12-26 22:06:09 +01:00
2025-12-26 22:06:09 +01:00
2025-12-26 22:06:09 +01:00
2025-12-26 22:06:09 +01:00
2025-12-26 22:06:09 +01:00
2025-12-26 22:06:09 +01:00