[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: hard-locale: make multithread-safe
From: |
Bruno Haible |
Subject: |
Re: hard-locale: make multithread-safe |
Date: |
Wed, 18 Dec 2019 09:51:50 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-166-generic; KDE/5.18.0; x86_64; ; ) |
> Thanks, this change looks fine to me.
Thanks. But before I do the rewrite, let me add a unit test first.
It's a bit tricky only on musl libc, NetBSD, and OpenBSD. Other
than that, there's a test failure on Android 4.3, where
- setlocale (category, NULL) always returns NULL.
- hard_locale of the initial locale returns true, but should be false.
2019-12-18 Bruno Haible <address@hidden>
hard-locale: Add test.
* tests/test-hard-locale.c: New file.
* tests/locale.c: New file.
* modules/hard-locale-tests: New file.
0001-hard-locale-Add-test.patch
Description: Text Data
- Re: string types, (continued)
- Re: string types, Bruno Haible, 2019/12/29
- Re: string types, ag, 2019/12/29
- Re: string types, ag, 2019/12/29
- Re: string types, Tim Rühsen, 2019/12/29
- Re: string types, Bruno Haible, 2019/12/31
Re: hard-locale: make multithread-safe, Paul Eggert, 2019/12/17