Mercurial > gnulib
diff doc/posix-functions/setlocale.texi @ 40136:06c22cab9098
setlocale: Work around bug on Android 4.3.
* m4/setlocale.m4 (gl_FUNC_SETLOCALE): Test whether setlocale supports
the "C" locale.
* lib/setlocale.c (setlocale_unixlike): New wrapper for Android.
* doc/posix-functions/setlocale.texi: Mention the Android bug.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 25 Jan 2019 23:26:24 +0100 |
parents | 7a82d5ff8472 |
children |
line wrap: on
line diff
--- a/doc/posix-functions/setlocale.texi Fri Jan 25 03:54:09 2019 +0100 +++ b/doc/posix-functions/setlocale.texi Fri Jan 25 23:26:24 2019 +0100 @@ -20,6 +20,10 @@ On Windows platforms (excluding Cygwin), @code{setlocale} understands different locale names, that are not based on ISO 639 language names and ISO 3166 country names. +@item +On Android 4.3, which which doesn't have locales, the @code{setlocale} function +always fails. The replacement, however, supports only the locale names +@code{"C"} and @code{"POSIX"}. @end itemize Portability problems not fixed by Gnulib: