[RFC PATCH 2/5] Do not define and undefine vfprintf in vfprintf.c
Tulio Magno Quites Machado Filho
tuliom@linux.ibm.com
Thu May 24 14:16:00 GMT 2018
"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
More information about the Libc-alpha
mailing list