bug-wget
[Top][All Lists]
Advanced

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

[Bug-wget] [PATCH] Fix for #43785 (ngettext with Solaris 10)


From: Tim Ruehsen
Subject: [Bug-wget] [PATCH] Fix for #43785 (ngettext with Solaris 10)
Date: Thu, 11 Dec 2014 09:46:20 +0100
User-agent: KMail/4.14.2 (Linux/3.16.0-4-amd64; KDE/4.14.2; x86_64; ; )

Since Solaris 10 'locale.h' pulls in libintl.h, our '#define ngettext' clashes
with the ngettext function. I changed our #define to WG_NGETTEXT (WG_ for the
wget namespace).
Another option would be to completely avoid ngettext() - we just use it at two
places (spider.c and warc.c) (ngettext(s1,s2,n) --> n==1?s1:s2).

Please review and comment.

Tim

Attachment: 0001-Fixed-define-ngettext-to-WG_NGETTEXT-issue-with-Sola.patch
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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