[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
use of program_name
From: |
Dave Love |
Subject: |
use of program_name |
Date: |
Wed, 04 Jan 2006 14:00:03 +0000 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.4 (gnu/linux) |
Gnulib routines call `error', and on a non-glibc system that's likely
to use an uninitialized `program_name' since the variable is
initialized in progname.c, and that's not required. Users probably
won't find out about it until `error' gets called at some stage and
prints junk; if gnulib supports a library, that can't ensure it's set
anyway.
Shouldn't `program_name' be initialized in error.c instead (perhaps to
a more meaningful value than NULL)?
It could probably do with a note about this in gnulib.texi, but I
don't know whether the variable is meant to be set directly or only
through `set_program_name'.
- use of program_name,
Dave Love <=
- Re: use of program_name, Paul Eggert, 2006/01/04
- Re: use of program_name, Dave Love, 2006/01/05
- Re: use of program_name, Paul Eggert, 2006/01/05
- Re: use of program_name, Karl Berry, 2006/01/05
- Re: use of program_name, Paul Eggert, 2006/01/05
- Re: use of program_name, Eric Blake, 2006/01/05
- Re: use of program_name, James Youngman, 2006/01/06
- Re: use of program_name, James Youngman, 2006/01/06
- Re: use of program_name, Karl Berry, 2006/01/06
- Re: use of program_name, Paul Eggert, 2006/01/06