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

Commit1764d95

Browse files
committed
Un-break optarg() call --- some peoples' optarg libraries
don't like extraneous colons in the option list...
1 parent5fc889f commit1764d95

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

‎src/backend/postmaster/postmaster.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.118 1999/09/27 15:47:43 vadim Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.119 1999/09/30 02:17:23 tgl Exp $
1414
*
1515
* NOTES
1616
*
@@ -404,7 +404,7 @@ PostmasterMain(int argc, char *argv[])
404404
DataDir=getenv("PGDATA");/* default value */
405405

406406
opterr=0;
407-
while ((opt=getopt(nonblank_argc,argv,"A:a:B:b:D:i::dm:MN:no:p:Ss"))!=EOF)
407+
while ((opt=getopt(nonblank_argc,argv,"A:a:B:b:D:di:m:MN:no:p:Ss"))!=EOF)
408408
{
409409
switch (opt)
410410
{
@@ -578,12 +578,12 @@ PostmasterMain(int argc, char *argv[])
578578

579579
if (NetServer)
580580
{
581-
status=StreamServerPort(hostName,PostPortName,&ServerSock_INET);
582-
if (status!=STATUS_OK)
581+
status=StreamServerPort(hostName,PostPortName,&ServerSock_INET);
582+
if (status!=STATUS_OK)
583583
{
584-
fprintf(stderr,"%s: cannot create INET stream port\n",
585-
progname);
586-
exit(1);
584+
fprintf(stderr,"%s: cannot create INET stream port\n",
585+
progname);
586+
exit(1);
587587
}
588588
}
589589

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp