Update.
1998-04-29 Ulrich Drepper <drepper@cygnus.com> * stdio-common/vfprintf.c [%S]: Don't clear mbstate twice; wcsrtombs must put it into initial state.
This commit is contained in:
parent
fdf19bf72d
commit
f326a706f8
|
@ -1,3 +1,8 @@
|
||||||
|
1998-04-29 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* stdio-common/vfprintf.c [%S]: Don't clear mbstate twice;
|
||||||
|
wcsrtombs must put it into initial state.
|
||||||
|
|
||||||
1998-04-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
|
1998-04-29 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
|
||||||
|
|
||||||
* iconv/gconv_simple.c: Fix endian bug. Don't put side effects in
|
* iconv/gconv_simple.c: Fix endian bug. Don't put side effects in
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
1998-04-28 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* locales/de_DE: Use . as thousands separator and 3;3 groups for
|
||||||
|
LC_NUMERIC.
|
||||||
|
|
||||||
1998-03-30 Ulrich Drepper <drepper@cygnus.com>
|
1998-03-30 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
* Makefile: Fix test rules from last patch.
|
* Makefile: Fix test rules from last patch.
|
||||||
|
|
|
@ -887,9 +887,9 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap)
|
||||||
/* Illegal wide-character string. */ \
|
/* Illegal wide-character string. */ \
|
||||||
return -1; \
|
return -1; \
|
||||||
\
|
\
|
||||||
|
assert (__mbsinit (&mbstate)); \
|
||||||
s2 = (const wchar_t *) string; \
|
s2 = (const wchar_t *) string; \
|
||||||
string = alloca (len + 1); \
|
string = alloca (len + 1); \
|
||||||
memset (&mbstate, '\0', sizeof (mbstate_t)); \
|
|
||||||
(void) __wcsrtombs (string, &s2, prec != -1 ? prec : UINT_MAX, \
|
(void) __wcsrtombs (string, &s2, prec != -1 ? prec : UINT_MAX, \
|
||||||
&mbstate); \
|
&mbstate); \
|
||||||
} \
|
} \
|
||||||
|
|
Loading…
Reference in New Issue