[PATCH] string: New thread-safe strtok version
Cristian Rodríguez
cristian@rodriguez.im
Wed Apr 2 12:53:43 GMT 2025
On Wed, Apr 2, 2025 at 6:31 AM Florian Weimer <fweimer@redhat.com> wrote:
>
> Introduce a new symbol version, so that applications can rely
> on the new behavior.
>
> The compatibility symbol is not thread-safe and switches to the
> BSD-compatible behavior that some historic applications rely on. See
> the previous discussion on bug 16640.
I agree with this change in general as there is no good reason to keep
it the old way..but is a new symbol really needed ?
after all it is unspecified what happens on misuse..
More information about the Libc-alpha
mailing list