2008-12-21 Bruno Haible <bruno@clisp.org>
+ * tests/test-mbsrtowcs.c (main): Execute the loop also for unlimited=1.
+
+2008-12-21 Bruno Haible <bruno@clisp.org>
+
Update doc for AIX.
* doc/pastposix-functions/wcswcs.texi: Mention that AIX has only a
16-bit wchar_t type.
ASSERT (buf[1] == (wchar_t) 0xBADFACE);
ASSERT (mbsinit (&state));
}
- return 0;
+ break;
case '2':
/* Locale encoding is UTF-8. */
ASSERT (buf[2] == (wchar_t) 0xBADFACE);
ASSERT (mbsinit (&state));
}
- return 0;
+ break;
case '3':
/* Locale encoding is EUC-JP. */
ASSERT (buf[2] == (wchar_t) 0xBADFACE);
ASSERT (mbsinit (&state));
}
- return 0;
+ break;
case '4':
/* Locale encoding is GB18030. */
ASSERT (buf[2] == (wchar_t) 0xBADFACE);
ASSERT (mbsinit (&state));
}
- return 0;
+ break;
default:
return 1;