* stdio-common/vfprintf.c (process_string_arg): For wide character
version, handle precision also correctly.
2000-07-23 Ulrich Drepper <drepper@redhat.com>
+ * stdio-common/vfprintf.c (process_string_arg): For wide character
+ version, handle precision also correctly.
+
* nss/nss_files/files-hosts.c: Correct problem with three or more
entries with the same name.
string = (CHAR_T *) alloca (len * sizeof (wchar_t)); \
\
memset (&mbstate, '\0', sizeof (mbstate_t)); \
- len = __mbsrtowcs (string, &mbs, len, &mbstate); \
+ len = __mbsnrtowcs (string, &mbs, len, len, &mbstate); \
if (len == (size_t) -1) \
{ \
/* Illegal multibyte character. */ \