changeset 12112:e375e45551a4

Fix a misleading comment.
author Bruno Haible <bruno@clisp.org>
date Sun, 04 Oct 2009 12:08:17 +0200
parents 5c028172c2a2
children 281617eccdf5
files ChangeLog lib/progname.c
diffstat 2 files changed, 8 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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>
 
--- a/lib/progname.c
+++ b/lib/progname.c
@@ -62,9 +62,9 @@
 
   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