Commit 0c3663b4 authored by Bruce Momjian's avatar Bruce Momjian

Add comment to postmaster.c that get_progname() will call exit if it

can't strdup().
parent b0830e39
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.435 2004/10/21 19:28:35 tgl Exp $ * $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.436 2004/11/02 03:34:50 momjian Exp $
* *
* NOTES * NOTES
* *
...@@ -313,7 +313,8 @@ PostmasterMain(int argc, char *argv[]) ...@@ -313,7 +313,8 @@ PostmasterMain(int argc, char *argv[])
char *userDoption = NULL; char *userDoption = NULL;
int i; int i;
progname = get_progname(argv[0]); /* This will call exit() if strdup() fails. */
progname = get_progname(argv[0]);
MyProcPid = PostmasterPid = getpid(); MyProcPid = PostmasterPid = getpid();
......
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