Re: [PATCH] doc: document mbrtowc and mbrlen problem with empty input

2014-05-16 Thread Paul Eggert
On 05/16/2014 11:13 AM, Jim Meyering wrote: Thanks for tracking that down. This sounds like it will deserve compile/run tests so that gnulib-using projects will detect the bug and use the replacement functions. Thanks, good idea. gnulib/tests/test-mbrtowc.c has test cases for zero-length inp

Re: [PATCH] doc: document mbrtowc and mbrlen problem with empty input

2014-05-16 Thread Jim Meyering
On Thu, May 15, 2014 at 6:30 PM, Paul Eggert wrote: > * doc/posix-functions/mbrlen.texi (mbrlen): > * doc/posix-functions/mbrtowc.texi (mbrtowc): > Document portability problem when the input string is empty. See: > https://sourceware.org/bugzilla/show_bug.cgi?id=16950 > ChangeLog

[PATCH] doc: document mbrtowc and mbrlen problem with empty input

2014-05-15 Thread Paul Eggert
* doc/posix-functions/mbrlen.texi (mbrlen): * doc/posix-functions/mbrtowc.texi (mbrtowc): Document portability problem when the input string is empty. See: https://sourceware.org/bugzilla/show_bug.cgi?id=16950 --- ChangeLog| 6 ++ doc/posix-functions/mbrlen.texi | 8 +