From: Ulrich Drepper Date: Sat, 5 May 2007 04:41:44 +0000 (+0000) Subject: * stdio-common/vfprintf.c (process_string_arg): Adjust call to X-Git-Tag: cvs/fedora-glibc-20070510T0634~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30b323ab4efa30eb0250bf3375050685ab3d9da2;p=thirdparty%2Fglibc.git * stdio-common/vfprintf.c (process_string_arg): Adjust call to __mbsnrtowcs after last change. --- diff --git a/ChangeLog b/ChangeLog index 5228f1bd45e..c09e3174998 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2007-05-04 Ulrich Drepper + * stdio-common/vfprintf.c (process_string_arg): Adjust call to + __mbsnrtowcs after last change. + * locale/programs/linereader.c (get_symname): Fix adding final NUL. (get_ident): Likewise. diff --git a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c index 20c07ce73aa..4f0d971c55b 100644 --- a/stdio-common/vfprintf.c +++ b/stdio-common/vfprintf.c @@ -1173,8 +1173,8 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap) memset (&ps, '\0', sizeof (ps)); \ \ while (str2 != NULL && str2 < strend) \ - if (__mbsnrtowcs (ignore, &str2, strend - str2, 1024, \ - &ps) == (size_t) -1) \ + if (__mbsnrtowcs (ignore, &str2, strend - str2, \ + ignore_size, &ps) == (size_t) -1) \ { \ done = -1; \ goto all_done; \