From 180b23cb220c00180b1a2459ad0676ad336ad7fb Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 1 Feb 2006 12:42:00 +0000 Subject: [PATCH] Fix const cast in get_progname(). Backpatch. --- src/port/path.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/port/path.c b/src/port/path.c index 968045cf353..5a05c4fcb41 100644 --- a/src/port/path.c +++ b/src/port/path.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/port/path.c,v 1.61.2.3 2006/02/01 00:32:06 momjian Exp $ + * $PostgreSQL: pgsql/src/port/path.c,v 1.61.2.4 2006/02/01 12:42:00 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -389,7 +389,7 @@ const char * get_progname(const char *argv0) { const char *nodir_name; - const char *progname; + char *progname; nodir_name = last_dir_separator(argv0); if (nodir_name) -- 2.39.5