bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] progname: don't segfault when argv is NULL


From: Bruno Haible
Subject: Re: [PATCH] progname: don't segfault when argv is NULL
Date: Sun, 6 Dec 2009 02:48:40 +0100
User-agent: KMail/1.9.9

Eric Blake wrote:
> is the string worth marking as
> translatable?  Or should it try error() rather than fputs()?

Since 'progname' is used by virtually every program that uses gnulib, I wish
to minimize its dependencies.

Regarding the translation: An error message that is seen by a user on average
once in 10 years (and only in abnormal conditions) does not need to be 
translated.
Also, since set_program_name is usually the first thing done in main(),
bindtextdomain has not been called at that moment.

Bruno




reply via email to

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