[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
0001-Fixed-define-ngettext-to-WG_NGETTEXT-issue-with-Sola.patch
Description: Text Data
signature.asc
Description: This is a digitally signed message part.
- [Bug-wget] [PATCH] Fix for #43785 (ngettext with Solaris 10),
Tim Ruehsen <=