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 5c9efe4471da079fe6ae1d9a3b4deaa6fe98ceeb..9bb6d9464c3591488deb46fd17a5632f13c3a43d 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 19df10ad7169d43016a12e5bfc1dc1f5fcbb9d9a..90baedaec271246ad9060d6bd83ab79cf80f62b3 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