wcsrtombs: Work around bug on native Windows.
authorBruno Haible <bruno@clisp.org>
Sat, 12 Feb 2011 19:43:40 +0000 (20:43 +0100)
committerBruno Haible <bruno@clisp.org>
Sat, 12 Feb 2011 19:51:56 +0000 (20:51 +0100)
commitc9dc6fff80d6b2be612fddb02b0141b85a9744aa
treefc4dc73874cf01a1c5443d5fa665768eb1897744
parentaa887f85e12926ab87c37991447f7ded7d08a43b
wcsrtombs: Work around bug on native Windows.

* m4/wcsrtombs.m4 (gl_WCSRTOMBS_NULL): Test against mingw bug.
* lib/wcsrtombs.c (rpl_wcsrtombs): When dest is NULL, pass SIZE_MAX
instead of len.
* doc/posix-functions/wcsrtombs.texi: Document mingw bug.
ChangeLog
doc/posix-functions/wcsrtombs.texi
lib/wcsrtombs.c
m4/wcsrtombs.m4