]> Savannah Git Hosting - gnulib.git/commit
mbmemcasecoll: Overcome wchar_t limitations.
authorBruno Haible <bruno@clisp.org>
Sun, 2 Jul 2023 13:44:19 +0000 (15:44 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 2 Jul 2023 13:44:19 +0000 (15:44 +0200)
commit356e001bb562d5602326f6c6461bbab9ce758025
treeae8eac5fcaf85c2f2cbe747ccfbc88e1c2426281
parent2fba79d77532c61ff2a49ae02bea719cd3ab3ccf
mbmemcasecoll: Overcome wchar_t limitations.

* lib/mbmemcasecoll.c: Include <uchar.h> instead of <wctype.h>.
(apply_c32tolower): Renamed from apply_towlower. Use mbrtoc32 instead of
mbrtowc. Use c32tolower instead of towlower. Use c32rtomb instead of
wcrtomb.
* modules/mbmemcasecoll (Depends-on): Remove mbrtowc, wcrtomb. Add
uchar, mbrtoc32, c32rtomb, c32tolower.
(Link): Add $(LIBUNISTRING) $(LIBC32CONV).
* modules/mbmemcasecoll-tests (Makefile.am): Link test-mbmemcasecoll
with $(LIBUNISTRING) $(LIBC32CONV).
ChangeLog
lib/mbmemcasecoll.c
modules/mbmemcasecoll
modules/mbmemcasecoll-tests