[Top][All Lists]

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

Re: [Bug-gnulib] error depend on progname?

From: Paul Eggert
Subject: Re: [Bug-gnulib] error depend on progname?
Date: Tue, 17 Aug 2004 16:17:15 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Simon Josefsson <address@hidden> writes:

> The 'error' module need 'char *program_name' to be defined somewhere.
> Should 'error' depend on 'progname' which provide it?

It's debatable, but many programs supply their own program_name (a
one-liner) but don't use or need all the other features of the
progname module.  This situation is not precisely analogous to
xalloc-die, which supplies xalloc_die but nothing else.

It might not hurt to split progname into two modules, one that merely
defines program_name (still a one-liner) and one that does the other

reply via email to

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