1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +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:
Adhemerval Zanella
2020-05-14 17:56:25 -03:00
parent 28aff04781
commit 725eeb4af1
7 changed files with 20 additions and 40 deletions

View File

@ -22,6 +22,7 @@
struct tls_internal_t
{
char *strsignal_buf;
char *strerror_l_buf;
};
#endif