mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-08 18:30:18 +00:00
Update.
1999-08-17 Ulrich Drepper <drepper@cygnus.com> * stdio-common/vfprintf.c (process_string_arg): Correct last patch and write correct number of bytes in case of %ls with precision. Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
This commit is contained in:
parent
aa6adf8229
commit
d198009a6e
@ -1,3 +1,9 @@
|
|||||||
|
1999-08-17 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
|
* stdio-common/vfprintf.c (process_string_arg): Correct last patch
|
||||||
|
and write correct number of bytes in case of %ls with precision.
|
||||||
|
Reported by Shinya Hanataka <hanataka@abyss.rim.or.jp>.
|
||||||
|
|
||||||
1999-08-16 Ulrich Drepper <drepper@cygnus.com>
|
1999-08-16 Ulrich Drepper <drepper@cygnus.com>
|
||||||
|
|
||||||
* nscd/nscd.init: Test for kernel version and make LSB compliant.
|
* nscd/nscd.init: Test for kernel version and make LSB compliant.
|
||||||
|
@ -1109,8 +1109,8 @@ vfprintf (FILE *s, const CHAR_T *format, va_list ap)
|
|||||||
if (prec > 0) \
|
if (prec > 0) \
|
||||||
{ \
|
{ \
|
||||||
/* The string `s2' might not be NUL terminated. */ \
|
/* The string `s2' might not be NUL terminated. */ \
|
||||||
string = (char *) alloca (prec + 1); \
|
string = (char *) alloca (prec); \
|
||||||
len = __wcsrtombs (string, &s2, prec + 1, &mbstate); \
|
len = __wcsrtombs (string, &s2, prec, &mbstate); \
|
||||||
} \
|
} \
|
||||||
else \
|
else \
|
||||||
{ \
|
{ \
|
||||||
|
Loading…
Reference in New Issue
Block a user