main must set program_name
authorKarl Berry <karl@freefriends.org>
Mon, 8 Jan 2007 23:26:49 +0000 (23:26 +0000)
committerKarl Berry <karl@freefriends.org>
Mon, 8 Jan 2007 23:26:49 +0000 (23:26 +0000)
ChangeLog
doc/error.texi

index b080623..f5b566e 100644 (file)
--- 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
index 8668359..3a80486 100644 (file)
@@ -20,3 +20,7 @@ GPL.  RMS does not want additional baggage accompanying the
 @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.