From: Bruce Momjian Date: Wed, 1 Feb 2006 12:42:30 +0000 (+0000) Subject: Fix const cast in get_progname(). X-Git-Tag: REL8_0_7~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3002acda433d5baf9dab7e2690a87996c6c87050;p=thirdparty%2Fpostgresql.git Fix const cast in get_progname(). Backpatch. --- diff --git a/src/port/path.c b/src/port/path.c index 22c25b10f95..f415c14c62f 100644 --- a/src/port/path.c +++ b/src/port/path.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/port/path.c,v 1.50.4.3 2006/02/01 00:47:03 momjian Exp $ + * $PostgreSQL: pgsql/src/port/path.c,v 1.50.4.4 2006/02/01 12:42:30 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -303,7 +303,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)