* stdio-common/vfprintf.c (process_string_arg): Adjust call to

__mbsnrtowcs after last change.
This commit is contained in:
Ulrich Drepper 2007-05-05 04:41:44 +00:00
parent d9ac82d062
commit 30b323ab4e
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2007-05-04 Ulrich Drepper <drepper@redhat.com> 2007-05-04 Ulrich Drepper <drepper@redhat.com>
* stdio-common/vfprintf.c (process_string_arg): Adjust call to
__mbsnrtowcs after last change.
* locale/programs/linereader.c (get_symname): Fix adding final NUL. * locale/programs/linereader.c (get_symname): Fix adding final NUL.
(get_ident): Likewise. (get_ident): Likewise.

View File

@ -1173,8 +1173,8 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap)
memset (&ps, '\0', sizeof (ps)); \ memset (&ps, '\0', sizeof (ps)); \
\ \
while (str2 != NULL && str2 < strend) \ while (str2 != NULL && str2 < strend) \
if (__mbsnrtowcs (ignore, &str2, strend - str2, 1024, \ if (__mbsnrtowcs (ignore, &str2, strend - str2, \
&ps) == (size_t) -1) \ ignore_size, &ps) == (size_t) -1) \
{ \ { \
done = -1; \ done = -1; \
goto all_done; \ goto all_done; \