Commit 802c7aa3 authored by Bruce Momjian's avatar Bruce Momjian

Fix const cast in get_progname().

Backpatch.
parent 62a14203
......@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/port/path.c,v 1.64 2006/02/01 00:31:59 momjian Exp $
* $PostgreSQL: pgsql/src/port/path.c,v 1.65 2006/02/01 12:41:45 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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment