mirror of
git://sourceware.org/git/glibc.git
synced 2026-12-02 19:05:05 +08: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:
@@ -53,9 +53,6 @@ extern char *__strerror_r (int __errnum, char *__buf, size_t __buflen);
|
||||
|
||||
extern char *__strerror_l (int __errnum, locale_t __loc);
|
||||
|
||||
/* Called as part of the thread shutdown sequence. */
|
||||
void __strerror_thread_freeres (void) attribute_hidden;
|
||||
|
||||
/* Get _STRING_ARCH_unaligned. */
|
||||
#include <string_private.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user