This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC PATCH 2/5] Do not define and undefine vfprintf in vfprintf.c


"Gabriel F. T. Gomes" <gabriel@inconstante.eti.br> writes:

> diff --git a/stdio-common/vfprintf.c b/stdio-common/vfprintf.c
> index ae412e4b84..0ab7ade1d6 100644
> --- a/stdio-common/vfprintf.c
> +++ b/stdio-common/vfprintf.c
> @@ -2321,7 +2321,7 @@ buffered_vfprintf (FILE *s, const CHAR_T *format, va_list args)
>  #ifndef COMPILE_WPRINTF
>    result = _IO_vfprintf (hp, format, args);
>  #else
> -  result = vfprintf (hp, format, args);
> +  result = _IO_vfwprintf (hp, format, args);

This should be using ___vfprintf.
It won't change the binary, but it's going to reuse the macro defined earliear.

-- 
Tulio Magno


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]