Fix a misleading comment.
authorBruno Haible <bruno@clisp.org>
Sun, 4 Oct 2009 10:08:17 +0000 (12:08 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 4 Oct 2009 10:08:17 +0000 (12:08 +0200)
ChangeLog
lib/progname.c

index 5c9efe4..9bb6d94 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-10-04  Bruno Haible  <bruno@clisp.org>
+
+       * lib/progname.c (set_program_name): Fix comment.
+       Reported by Jim Meyering.
+
 2009-10-03  Paolo Bonzini  <bonzini@gnu.org>
            Bruno Haible  <bruno@clisp.org>
 
index 19df10a..90baeda 100644 (file)
@@ -62,9 +62,9 @@ set_program_name (const char *argv0)
 
   program_name = argv0;
 
-  /* On glibc systems, when the gnulib module 'error' is not used, the error()
-     function comes from libc and uses the variable program_invocation_name,
-     not program_name.  So set this variable as well.  */
+  /* On glibc systems, the error() function comes from libc and uses the
+     variable program_invocation_name, not program_name.  So set this variable
+     as well.  */
 #if HAVE_DECL_PROGRAM_INVOCATION_NAME
   program_invocation_name = (char *) argv0;
 #endif