bug-gettext
[Top][All Lists]
Advanced

[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 15:59:05 +0300

> From: Bruno Haible <address@hidden>
> Cc: Tim Rühsen <address@hidden>
> Date: Sat, 12 May 2018 13:57:20 +0200
> 
> > Some of the wget2 unit tests in unit-tests/test.c fail due
> > to unsupported printf specifiers, such as %hhd and %zd.
> 
> How is this possible? The replacement that libintl.h installs redirects to
> a function compiled from the vasnprintf.c in gnulib. This replacement
> support %hhd and %zd for more than 15 years.
>   - For %hhd: Search for TYPE_SCHAR.
>   - For %zd: On 32-bit mingw, this gets rewritten to %d. On 64-bit mingw,
>     this gets rewritten to %I64d (search for TYPE_LONGLONGINT).

Maybe that's because my libintl is older than when these features
became supported?  What version started supporting them?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]