diff options
author | Daiki Ueno <dueno@redhat.com> | 2018-04-27 09:51:59 +0200 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2018-05-01 13:30:43 +0200 |
commit | 6202903b261dfae740af3f8e985244bab48470ba (patch) | |
tree | 1a98dfeff05af569b7e1dd341da685dbf2e73a76 /trust/test-module.c | |
parent | 173ad93cc54057886b2055f3d73ea64a047127d1 (diff) |
Revert "build: Check strerror_l() and uselocale() seperately"
This reverts commit 173ad93cc54057886b2055f3d73ea64a047127d1.
We should rather use newlocale() when per-thread locale is not set.
Otherwise uselocale() could return LC_GLOBAL_LOCALE on some
platforms (e.g. musl-libc) and calling strerror_l() with it leads to
an undefined behavior.
Diffstat (limited to 'trust/test-module.c')
0 files changed, 0 insertions, 0 deletions