1
0
mirror of https://git.savannah.gnu.org/git/gnulib.git synced 2025-08-17 12:41:05 +03:00

mbrtowc: Work around native Windows bug.

* m4/mbrtowc.m4 (gl_MBRTOWC_RETVAL): Detect native Windows bug. Use the
guess when no suitable locale for testing was found.
* doc/posix-functions/mbrtowc.texi: Mention the native Windows bug.
This commit is contained in:
Bruno Haible
2011-02-13 19:29:42 +01:00
parent cca34e7a16
commit a035a8d38a
3 changed files with 70 additions and 10 deletions

View File

@@ -30,7 +30,7 @@ OSF/1 5.1.
This function returns the total number of bytes that make up the multibyte
character, not the number of bytes that were needed to complete the multibyte
character, on some platforms:
HP-UX 11.11, Solaris 11 2010-11.
HP-UX 11.11, Solaris 11 2010-11, mingw.
@item
This function may not return 0 when parsing the NUL character on some platforms:
Solaris 9.