From: Bruce Momjian Date: Wed, 1 Feb 2006 12:42:00 +0000 (+0000) Subject: Fix const cast in get_progname(). X-Git-Tag: REL8_1_3~22 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=180b23cb220c00180b1a2459ad0676ad336ad7fb;p=postgresql Fix const cast in get_progname(). Backpatch. --- diff --git a/src/port/path.c b/src/port/path.c index 968045cf35..5a05c4fcb4 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)