]> Savannah Git Hosting - gnulib.git/commit
wcrtomb: Work around bug on Android 4.3.
authorBruno Haible <bruno@clisp.org>
Fri, 25 Jan 2019 22:39:28 +0000 (23:39 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 25 Jan 2019 22:39:28 +0000 (23:39 +0100)
commit555ed22ddc6df16f3e848de4c5534b97c1ddd32c
tree65cd66ea35b340890bace1f9ff0f7c051025fc89
parent575971db40f3ab6413c3d3875510a65b2ea9f0d6
wcrtomb: Work around bug on Android 4.3.

* m4/wcrtomb.m4 (gl_FUNC_WCRTOMB): Test also whether wcrtomb works in
the C locale.
* lib/wcrtomb.c (wcrtomb): Provide alternate implementation for Android,
which does not have the 'wctomb' function.
* doc/posix-functions/wcrtomb.texi: Mention the Android bug.
* tests/test-wcrtomb.c (main): Accept argument '5'.
* tests/test-wcrtomb.sh: Add tests in the POSIX locale.
ChangeLog
doc/posix-functions/wcrtomb.texi
lib/wcrtomb.c
m4/wcrtomb.m4
tests/test-wcrtomb.c
tests/test-wcrtomb.sh