>From 96335dc0af877d7d4e5353c3c7c509b930b1df98 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 23 Sep 2017 16:01:33 +0200 Subject: [PATCH 1/3] duplocale tests: Fix test crash on Linux/x86. * tests/test-duplocale.c (test_with_uselocale): Disconnect the mixed2 locale from the current thread before freeing it. --- ChangeLog | 6 ++++++ tests/test-duplocale.c | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 82ecf53..be1f9f8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2017-09-23 Bruno Haible + + duplocale tests: Fix test crash on Linux/x86. + * tests/test-duplocale.c (test_with_uselocale): Disconnect the mixed2 + locale from the current thread before freeing it. + 2017-09-21 Paul Eggert mktime: port to OpenVMS diff --git a/tests/test-duplocale.c b/tests/test-duplocale.c index 49ff0ff..9b2c4cf 100644 --- a/tests/test-duplocale.c +++ b/tests/test-duplocale.c @@ -115,6 +115,7 @@ test_with_uselocale (void) } setlocale (LC_ALL, "C"); + uselocale (LC_GLOBAL_LOCALE); freelocale (mixed1); freelocale (mixed2); freelocale (perthread); -- 2.7.4