patch/patch-2.5.4-program_name.patch
cvsdist c9808c3bd7 auto-import changelog data from patch-2.5.4-12.src.rpm
Tue Apr 09 2002 Tim Waugh <twaugh@redhat.com> 2.5.4-12
- Fix error reporting when given bad options (bug #62981).
2004-09-09 09:54:49 +00:00

12 lines
364 B
Diff

--- patch-2.5.4/error.c.program_name Tue Apr 9 14:38:27 2002
+++ patch-2.5.4/error.c Tue Apr 9 14:38:43 2002
@@ -80,7 +80,7 @@
/* The calling program should define program_name and set it to the
name of the executing program. */
-extern char *program_name;
+extern char const program_name[];
# ifdef HAVE_STRERROR_R
# define __strerror_r strerror_r