bug in mbrtowc
Ulrich Drepper
drepper@redhat.com
Tue May 22 17:09:00 GMT 2001
Bruno Haible <haible@ilog.fr> writes:
> ISO C 99 says that
> mbrtowc(NULL, NULL, 0, ps)
> is equivalent to
> mbrtowc(NULL, "", 1, ps)
> but in glibc they behave differently. Below is a test, where test1() succeeds
> and test2() fails, and a fix.
Thanks, I've applied the patch.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
More information about the Libc-alpha
mailing list