Dave Love <[EMAIL PROTECTED]> writes: > 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.
Under the current approach, it's the caller's responsibility to arrange for a program_name variable that works, either by using the progname module, or by rolling their own program_name variable. > I don't know whether the variable is meant to be set directly or only > through `set_program_name'. Either is fine. > Shouldn't `program_name' be initialized in error.c instead (perhaps to > a more meaningful value than NULL)? I suppose it might make sense for error.c to avoid using program_name if it's null. _______________________________________________ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib