Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0c3663b

Browse files
committed
Add comment to postmaster.c that get_progname() will call exit if it
can't strdup().
1 parentb0830e3 commit0c3663b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/backend/postmaster/postmaster.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
*
3838
*
3939
* IDENTIFICATION
40-
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.435 2004/10/21 19:28:35 tgl Exp $
40+
* $PostgreSQL: pgsql/src/backend/postmaster/postmaster.c,v 1.436 2004/11/02 03:34:50 momjian Exp $
4141
*
4242
* NOTES
4343
*
@@ -313,7 +313,8 @@ PostmasterMain(int argc, char *argv[])
313313
char*userDoption=NULL;
314314
inti;
315315

316-
progname=get_progname(argv[0]);
316+
/* This will call exit() if strdup() fails. */
317+
progname=get_progname(argv[0]);
317318

318319
MyProcPid=PostmasterPid=getpid();
319320

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp