Mercurial > hg > octave-kai > gnulib-hg
changeset 7800:18afc88bfe85
main must set program_name
author | Karl Berry <karl@freefriends.org> |
---|---|
date | Mon, 08 Jan 2007 23:26:49 +0000 |
parents | 03006e334f20 |
children | 0a0e07df7c80 |
files | ChangeLog doc/error.texi |
diffstat | 2 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-01-08 Karl Berry <karl@gnu.org> + + * doc/error.texi: mention that main() fns must set program_name + when progname is used. + 2007-01-08 Paul Eggert <eggert@cs.ucla.edu> * m4/wctype.m4 (gl_WCTYPE_H): Compute ABSOLUTE_WCTYPE_H even if
--- a/doc/error.texi +++ b/doc/error.texi @@ -20,3 +20,7 @@ @code{error} module, so an LGPL user must provide their own replacement @code{program_name}, and a GPL user should manually specify using the @code{progname} module. + +Additionally, using the @code{progname} module is not something that +can be done implicitly. It requires that every @code{main()} function +be modified to set @code{program_name} as one of its first actions.