bug-gnulib
[Top][All Lists]
Advanced

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

Re: use of program_name


From: James Youngman
Subject: Re: use of program_name
Date: Fri, 6 Jan 2006 10:44:50 +0000
User-agent: Mutt/1.5.9i

On Thu, Jan 05, 2006 at 03:06:59PM -0800, Paul Eggert wrote:

> address@hidden (James Youngman) writes:
> 
> > I would prefer an arrangement which results in a compilation or link
> > failure if the user (i.e. software maintainer) fails to initialise
> > things properly.
> 
> Perhaps we could change progname.h so that 'program_name' is a
> function that returns the program name, instead of being a global
> variable.  That should catch mishaps at link-time, if not before.

That gets my vote, certainly.

James.




reply via email to

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