OSDN Git Service

Reverse out getopt patch --- turns out it doesn't help on my
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 30 Sep 1999 02:45:17 +0000 (02:45 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 30 Sep 1999 02:45:17 +0000 (02:45 +0000)
platform, and there are at least some people it's not broken for.  So undo
change until we can discuss a more portable solution.

src/backend/postmaster/postmaster.c

index 1215408..78d8bc5 100644 (file)
@@ -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)
                {