[Top][All Lists]

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

Re: use of program_name

From: Sergey Poznyakoff
Subject: Re: use of program_name
Date: Sat, 07 Jan 2006 03:14:29 EET

Paul Eggert <address@hidden> wrote:

> > -# define program_name program_invocation_name
> Let's omit this '#define', and change all uses of program_name to
> program_name in the rest of the code.  The other arm of the #if can
> then contain
> #define program_invocation_name program_name ()

No, it cannot. First of all, error.c does not use this symbol, so there
is no use defining it. And, secondly, gnulib module argp makes sure
program_invocation_name (and its counterpart program_invocation_short_name)
is available and such a define will create problems for packages
that use argp.


reply via email to

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