]> git.ipfire.org Git - thirdparty/bind9.git/commit
Use const pointer with strchr of const pointer
authorMark Andrews <marka@isc.org>
Fri, 19 Dec 2025 01:32:33 +0000 (12:32 +1100)
committerMark Andrews <marka@isc.org>
Tue, 20 Jan 2026 05:23:58 +0000 (16:23 +1100)
commitaf379e10ccbede22a38cdbee58c6a71c097221d2
tree1b36910e0d9dce58593e022120e2ae8889511950
parentb40f92eb26518cc04d98395d4c8fdbb58a144d4d
Use const pointer with strchr of const pointer

C23 now has qualifier preserving standard functions for strchr,
bsearch, strpbrk, strrchr, strstr, memchr.  There where a few places
where the return value was not assigned to a const qualified pointer.
These have been fixed.
bin/delv/delv.c
bin/tools/mdig.c
lib/isc/file.c