From: Tom Lane Date: Thu, 30 Sep 1999 02:45:17 +0000 (+0000) Subject: Reverse out getopt patch --- turns out it doesn't help on my X-Git-Tag: REL7_0~1401 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2993f0c100ea26932d560eec95370b0b23e1b696;p=postgresql Reverse out getopt patch --- turns out it doesn't help on my platform, and there are at least some people it's not broken for. So undo change until we can discuss a more portable solution. --- diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c index 1215408a55..78d8bc5e30 100644 --- a/src/backend/postmaster/postmaster.c +++ b/src/backend/postmaster/postmaster.c @@ -10,7 +10,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.119 1999/09/30 02:17:23 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.120 1999/09/30 02:45:17 tgl Exp $ * * NOTES * @@ -404,7 +404,7 @@ PostmasterMain(int argc, char *argv[]) DataDir = getenv("PGDATA"); /* default value */ opterr = 0; - while ((opt = getopt(nonblank_argc, argv, "A:a:B:b:D:di:m: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) {