mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +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:
@ -34,6 +34,7 @@ static inline void
|
||||
__glibc_tls_internal_free (void)
|
||||
{
|
||||
free (__tls_internal.strsignal_buf);
|
||||
free (__tls_internal.strerror_l_buf);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user