Skip to content

Commit 802c7aa

Browse files
committed
Fix const cast in get_progname().
Backpatch.
1 parent 62a1420 commit 802c7aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/port/path.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/port/path.c,v 1.64 2006/02/01 00:31:59 momjian Exp $
11+
* $PostgreSQL: pgsql/src/port/path.c,v 1.65 2006/02/01 12:41:45 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -389,7 +389,7 @@ const char *
389389
get_progname(const char *argv0)
390390
{
391391
const char *nodir_name;
392-
const char *progname;
392+
char *progname;
393393

394394
nodir_name = last_dir_separator(argv0);
395395
if (nodir_name)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy