]> git.ipfire.org Git - thirdparty/rsync.git/commit
Fix glibc-2.43 constness warnings
authorHolger Hoffstätte <holger@applied-asynchrony.com>
Sun, 5 Apr 2026 22:44:02 +0000 (00:44 +0200)
committerAndrew Tridgell <andrew@tridgell.net>
Wed, 22 Apr 2026 02:10:08 +0000 (12:10 +1000)
commita5bbe859db65c2f8dfd3e2e62371b2c5e69288f4
treef65d299d194ee73b60efcf6187c1a51c51122d53
parentd046525de39315d625ffaef4fdd6e7cf12148016
Fix glibc-2.43 constness warnings

Glibc 2.43 added C23 const-preserving overloads to various string functions,
which change the return type depending on the constness of the argument(s).
Currently this leads to warnings from calls to strtok() or strchr().
Fix this by properly declaring the respective variable types.

Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
access.c
checksum.c
compat.c
exclude.c
io.c
loadparm.c