mirror of
https://github.com/postgres/postgres.git
synced 2025-05-11 05:41:32 +03:00
Un-break optarg() call --- some peoples' optarg libraries
don't like extraneous colons in the option list...
This commit is contained in:
parent
5fc889fbea
commit
1764d9579e
@ -10,7 +10,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.118 1999/09/27 15:47:43 vadim Exp $
|
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.119 1999/09/30 02:17:23 tgl Exp $
|
||||||
*
|
*
|
||||||
* NOTES
|
* NOTES
|
||||||
*
|
*
|
||||||
@ -404,7 +404,7 @@ PostmasterMain(int argc, char *argv[])
|
|||||||
DataDir = getenv("PGDATA"); /* default value */
|
DataDir = getenv("PGDATA"); /* default value */
|
||||||
|
|
||||||
opterr = 0;
|
opterr = 0;
|
||||||
while ((opt = getopt(nonblank_argc, argv, "A:a:B:b:D:i::dm:MN:no:p:Ss")) != EOF)
|
while ((opt = getopt(nonblank_argc, argv, "A:a:B:b:D:di:m:MN:no:p:Ss")) != EOF)
|
||||||
{
|
{
|
||||||
switch (opt)
|
switch (opt)
|
||||||
{
|
{
|
||||||
@ -578,12 +578,12 @@ PostmasterMain(int argc, char *argv[])
|
|||||||
|
|
||||||
if (NetServer)
|
if (NetServer)
|
||||||
{
|
{
|
||||||
status = StreamServerPort(hostName, PostPortName, &ServerSock_INET);
|
status = StreamServerPort(hostName, PostPortName, &ServerSock_INET);
|
||||||
if (status != STATUS_OK)
|
if (status != STATUS_OK)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "%s: cannot create INET stream port\n",
|
fprintf(stderr, "%s: cannot create INET stream port\n",
|
||||||
progname);
|
progname);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user