]> Savannah Git Hosting - gnulib.git/commit
hard-locale: Port to Android ≥ 5.0.
authorBruno Haible <bruno@clisp.org>
Tue, 17 Jan 2023 13:09:41 +0000 (14:09 +0100)
committerBruno Haible <bruno@clisp.org>
Tue, 17 Jan 2023 13:09:41 +0000 (14:09 +0100)
commitd7a941f0785fcbc160f79a4bc1b9ec621d7b7dfd
tree8089f10a83106fb1a2ab4893260e895df87f9703
parent2cf7f442f52f70b3df6eb396eb93ea08e54883c5
hard-locale: Port to Android ≥ 5.0.

* lib/hard-locale.c: Include <stdlib.h>.
(hard_locale): On Android, consider also MB_CUR_MAX, even if the
locale's name is "C".
* tests/test-hard-locale.c (test_one, main): Assume that on Android,
even the "C" locale is hard.
ChangeLog
lib/hard-locale.c
tests/test-hard-locale.c