On Sat, 8 Jan 2005 19:04:41 +0100
Christian Biere <[EMAIL PROTECTED]> wrote:
> but this means that we must not use format strings with ngettext().
Although in my knowledge, it means human him/herself must confirm that
whether its format is proper instead of compiler's auto checking,
doesn't it? .
Hi,
Here is the example of the way, telling to the translator from the
developer to avoid mistranslation in the ambiguous strings. Well, the
following modification in the bitzi.c can't be said civilized method
even in the compliment :-) But, it's glad if developers keep this in
mind.
Index: po/Ma
>--[Christian Biere]--<[EMAIL PROTECTED]>
> Well, this is unacceptable. ngettext() is certainly the proper way
> to handle the plural/singular problem but this means that we must not
> use format strings with ngettext().
> I assume this is no different from gettext() but GCC "trusts" the latter
jonas wrote:
> (gdb) frame 5
> #5 0x808ef96 in download_request (d=0x9aeecb0, header=0x145fa400, ok=1) at
> downloads.c:6018
> 6018file_info_update(d, d->skip,
> end + 1, DL_CHUNK_BUSY);
[...]
I've committed a preliminary fix for this to CVS. I'm not
Daichi Kawahata wrote:
> from the above mentioned, if -Wformat=2 was used it's a
> "ngettext ("%u/%u host (%u%%)", "%u/%u hosts (%u%%)", max)" and
> "cur, max, frac"
> that will be checked at compile-time, isn't it? Also, I inserted
> the cpp macro in the src/commpn.h at 294-295:
jonas wrote:
> ** ERROR **: file gwcache.c: line 552 (forget_url): assertion failed:
> (gwc_url_slot >= 0 && gwc_url_slot < MAX_GWC_URLS)
> aborting...
Thanks, should be fixed in CVS.
--
Christian
The true content of this mail is readable on Saturn only.
pgpF6x0MrYrSq.pgp
Description: PGP si
Hi
got this one while running unattended. My connection was down for some hours,
so I have lots of 'cannot resolve "gwc.bla.com": Host name lookup failure'
before the final core dump:
05/01/08 00:03:22 (WARNING): could not launch a "GET
http://node01.hewson.cns.ufl.edu:8080/pwc4.cgi?hostfile=1