mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
* stdio-common/vfprintf.c (process_string_arg): Adjust call to
__mbsnrtowcs after last change.
This commit is contained in:
parent
d9ac82d062
commit
30b323ab4e
@ -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.
|
||||||
|
|
||||||
|
@ -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; \
|
||||||
|
Loading…
Reference in New Issue
Block a user