mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 00:10:10 +00:00
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>
|
||||
|
||||
* 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>
|
||||
|
||||
* 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. */ \
|
||||
return -1; \
|
||||
\
|
||||
assert (__mbsinit (&mbstate)); \
|
||||
s2 = (const wchar_t *) string; \
|
||||
string = alloca (len + 1); \
|
||||
memset (&mbstate, '\0', sizeof (mbstate_t)); \
|
||||
(void) __wcsrtombs (string, &s2, prec != -1 ? prec : UINT_MAX, \
|
||||
&mbstate); \
|
||||
} \
|
||||
|
Loading…
Reference in New Issue
Block a user