mirror of
https://github.com/postgres/postgres.git
synced 2025-09-08 00:47:37 +03:00
Fix const cast in get_progname().
Backpatch.
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* 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)
|
get_progname(const char *argv0)
|
||||||
{
|
{
|
||||||
const char *nodir_name;
|
const char *nodir_name;
|
||||||
const char *progname;
|
char *progname;
|
||||||
|
|
||||||
nodir_name = last_dir_separator(argv0);
|
nodir_name = last_dir_separator(argv0);
|
||||||
if (nodir_name)
|
if (nodir_name)
|
||||||
|
Reference in New Issue
Block a user