Skip to content

Commit 1764d95

Browse files
committed
Un-break optarg() call --- some peoples' optarg libraries
don't like extraneous colons in the option list...
1 parent 5fc889f commit 1764d95

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)
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