Re: new module 'mbrtowc'

2008-12-20 Thread Bruno Haible
The unit test for mbrtowc uncovered four different bugs in various systems of the system-provided mbrtowc function. mbrtowc was introduced to allow traversing strings that are stored in non-contiguous memory blocks. This essential functionality does not work on AIX 5.1, HP-UX 11.11, OSF/1 5.1, Sol

new module 'mbrtowc'

2008-12-18 Thread Bruno Haible
t)(-2). But glibc returns 0. Hmm... - glibc's mbtowc() implementation for UTF-8 is buggy. 2008-12-18 Bruno Haible New module 'mbrtowc'. * lib/wchar.in.h (mbstate_t): Override when the system does not have mbsinit and mbrtowc. (mbrtowc): New