From 38a435332ac157a6865f9728f0e7625039378c2f Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 4 Oct 2009 12:08:17 +0200 Subject: [PATCH] Fix a misleading comment. --- ChangeLog | 5 +++++ lib/progname.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5c9efe447..9bb6d9464 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-10-04 Bruno Haible + + * lib/progname.c (set_program_name): Fix comment. + Reported by Jim Meyering. + 2009-10-03 Paolo Bonzini Bruno Haible diff --git a/lib/progname.c b/lib/progname.c index 19df10ad7..90baedaec 100644 --- a/lib/progname.c +++ b/lib/progname.c @@ -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 -- 2.11.0