]> Savannah Git Hosting - gnulib.git/commit
c32tob: Make consistent with mbrtoc32.
authorBruno Haible <bruno@clisp.org>
Thu, 9 Jan 2020 01:04:07 +0000 (02:04 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 9 Jan 2020 01:04:07 +0000 (02:04 +0100)
commitd6f8671505956401691e3c35d19499470f582a88
tree7c0910053b2878469300a08156b9bb3397aeb54c
parent18f05ac59765d532823d48c061d0dcac7c55007e
c32tob: Make consistent with mbrtoc32.

* lib/c32tob.c: Include <stdio.h>, <string.h>, <wchar.h>.
(c32tob): If the char32_t encoding and the wchar_t encoding may differ,
use c32rtomb, not wctob.
* modules/c32tob (Files): Add m4/mbrtoc32.m4.
(Depends-on): Add c32rtomb.
(configure.ac): Require gl_MBRTOC32_SANITYCHECK.
ChangeLog
lib/c32tob.c
modules/c32tob