mirror of
https://sourceware.org/git/glibc.git
synced 2025-04-26 15:09:05 +03:00
Update.
1998-05-20 Ulrich Drepper <drepper@cygnus.com> * stdio-common/vfprintf.c: When precision is specified for %ls or %S handle it correctly.
This commit is contained in:
parent
05fdf2dfc9
commit
93c3d288af
@ -1,3 +1,8 @@
|
|||||||
|
1998-05-20 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* stdio-common/vfprintf.c: When precision is specified for %ls or
|
||||||
|
%S handle it correctly.
|
||||||
|
|
||||||
1998-05-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
|
1998-05-20 Andreas Jaeger <aj@arthur.rhein-neckar.de>
|
||||||
|
|
||||||
* sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
|
* sysdeps/unix/bsd/vax/vfork.S: Missed double occurences of "the
|
||||||
|
@ -890,8 +890,9 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap)
|
|||||||
assert (__mbsinit (&mbstate)); \
|
assert (__mbsinit (&mbstate)); \
|
||||||
s2 = (const wchar_t *) string; \
|
s2 = (const wchar_t *) string; \
|
||||||
string = alloca (len + 1); \
|
string = alloca (len + 1); \
|
||||||
(void) __wcsrtombs (string, &s2, prec != -1 ? prec : UINT_MAX, \
|
(void) __wcsrtombs (string, &s2, len + 1, &mbstate); \
|
||||||
&mbstate); \
|
if (prec < min) \
|
||||||
|
len = prec; \
|
||||||
} \
|
} \
|
||||||
\
|
\
|
||||||
if ((width -= len) < 0) \
|
if ((width -= len) < 0) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user