mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
* stdio-common/fxprintf.c (__fxprintf): Declare functions more local.
2005-07-22 Jakub Jelinek <jakub@redhat.com> * wcsmbs/bits/wchar2.h (__vfwprintf_chk, __vwprintf_chk): Use __gnuc_va_list rather than _G_va_list.
This commit is contained in:
@ -1,3 +1,12 @@
|
|||||||
|
2005-07-22 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* stdio-common/fxprintf.c (__fxprintf): Declare functions more local.
|
||||||
|
|
||||||
|
2005-07-22 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* wcsmbs/bits/wchar2.h (__vfwprintf_chk, __vwprintf_chk): Use
|
||||||
|
__gnuc_va_list rather than _G_va_list.
|
||||||
|
|
||||||
2005-07-22 Roland McGrath <roland@redhat.com>
|
2005-07-22 Roland McGrath <roland@redhat.com>
|
||||||
|
|
||||||
[BZ #869]
|
[BZ #869]
|
||||||
|
@ -37,9 +37,9 @@ __fxprintf (FILE *fp, const char *fmt, ...)
|
|||||||
int res;
|
int res;
|
||||||
if (_IO_fwide (fp, 0) > 0)
|
if (_IO_fwide (fp, 0) > 0)
|
||||||
{
|
{
|
||||||
size_t len = strlen (fmt) + 1, i;
|
size_t len = strlen (fmt) + 1;
|
||||||
wchar_t wfmt[len];
|
wchar_t wfmt[len];
|
||||||
for (i = 0; i < len; ++i)
|
for (size_t i = 0; i < len; ++i)
|
||||||
{
|
{
|
||||||
assert (isascii (fmt[i]));
|
assert (isascii (fmt[i]));
|
||||||
wfmt[i] = fmt[i];
|
wfmt[i] = fmt[i];
|
||||||
|
Reference in New Issue
Block a user