mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
string: Use tls-internal on strerror_l
The buffer allocation uses the same strategy of strsignal. Checked on x86-64-linux-gnu, i686-linux-gnu, powerpc64le-linux-gnu, and s390x-linux-gnu. Tested-by: Carlos O'Donell <carlos@redhat.com> Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
@@ -32,7 +32,6 @@ __libc_thread_freeres (void)
|
||||
{
|
||||
call_function_static_weak (__rpc_thread_destroy);
|
||||
call_function_static_weak (__res_thread_freeres);
|
||||
call_function_static_weak (__strerror_thread_freeres);
|
||||
__glibc_tls_internal_free ();
|
||||
|
||||
/* This should come last because it shuts down malloc for this
|
||||
|
Reference in New Issue
Block a user