1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-04 12:42:24 +03:00

Fix const cast in get_progname().

Backpatch.
This commit is contained in:
Bruce Momjian 2006-02-01 12:42:00 +00:00
parent bc1c9adbda
commit 180b23cb22

View File

@ -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)