bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] [PATCH] Fix for #43785


From: Giuseppe Scrivano
Subject: Re: [Bug-wget] [PATCH] Fix for #43785
Date: Sun, 08 Feb 2015 11:35:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Tim Rühsen <address@hidden> writes:

>> # define ngettext(Msgid1, Msgid2, N) \
>>     ((N) == 1 \
>>      ? ((void) (Msgid2), (const char *) (Msgid1)) \
>> 
>>      : ((void) (Msgid1), (const char *) (Msgid2)))
>
> This does not work (Kiyoshi wrote a private Mail to me).
>
>> Or can't we just "#include <libintl.h>" on all platforms?
>
> I wouldn't expect this to work everywhere.
>
> Another idea: how often do we use ngettext ? AFAIR, only 1 or 2 times in the 
> code. So why not remove the #define and amend those two occurrences ?

I am quite sure we are missing some gnulib integration here, as gettext
provided there has a similar macro.  If we have no way to build it and
check it easily, feel free to just push your version for now.

Regards,
Giuseppe



reply via email to

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