[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-gettext] libintl.h redirection of stdio printf functions
From: |
Eli Zaretskii |
Subject: |
Re: [bug-gettext] libintl.h redirection of stdio printf functions |
Date: |
Sat, 12 May 2018 19:40:22 +0300 |
> From: Bruno Haible <address@hidden>
> Cc: address@hidden, address@hidden
> Date: Sat, 12 May 2018 17:40:09 +0200
>
> > - Use the gnulib vasnprintf always, not only when the format string
> > contains
> > '$' characters.
>
> Oops, this change exists only in gnulib. In
> gettext/gettext-runtime/intl/printf.c
> still today the gnulib vasnprintf is not used for format strings that don't
> contain a '$'. So, since mingw does not support %hhd and %zd [1], the libintl
> override does not do that either.
By "mingw doesn't support %hhd and %zd", I believe you mean when MinGW
uses the implementations in the Windows runtime (as opposed to the
MinGW replacements under -D__USE_MINGW_ANSI_STDIO=1)?
> I guess this is what you would like to see changed? So that you can have one
> *printf implementation that support argument reordering *and* C99 size
> specifiers.
Yes. What bothers me is that when __USE_MINGW_ANSI_STDIO is non-zero,
including gettext.h or libintl.h actually produces a regression in the
*printf capabilities. So perhaps one solution is to refrain from the
redirection when __USE_MINGW_ANSI_STDIO is non-zero? The MinGW
replacements do support '$' argument reordering, AFAICT.
- [bug-gettext] libintl.h redirection of stdio printf functions, Eli Zaretskii, 2018/05/12
- Re: [bug-gettext] libintl.h redirection of stdio printf functions, Bruno Haible, 2018/05/12
- Re: [bug-gettext] libintl.h redirection of stdio printf functions, Eli Zaretskii, 2018/05/12
- Re: [bug-gettext] libintl.h redirection of stdio printf functions, Bruno Haible, 2018/05/12
- Re: [bug-gettext] libintl.h redirection of stdio printf functions, Eli Zaretskii, 2018/05/12
- Re: [bug-gettext] libintl.h redirection of stdio printf functions, Bruno Haible, 2018/05/12
- Re: [bug-gettext] libintl.h redirection of stdio printf functions, Eli Zaretskii, 2018/05/12
- Re: [bug-gettext] libintl.h redirection of stdio printf functions, Bruno Haible, 2018/05/12
- Re: [bug-gettext] libintl.h redirection of stdio printf functions,
Eli Zaretskii <=
- Re: [bug-gettext] libintl.h redirection of stdio printf functions, Bruno Haible, 2018/05/12
- Re: [bug-gettext] libintl.h redirection of stdio printf functions, Eli Zaretskii, 2018/05/12
Re: [bug-gettext] libintl.h redirection of stdio printf functions, Tim Rühsen, 2018/05/12