Skip site navigation (1) Skip section navigation (2)

pgsql: Fix up getopt() reset management so it works on recent mingw.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix up getopt() reset management so it works on recent mingw.
Date: 2010-12-16 04:51:47
Message-ID: E1PT5oh-00074D-TQ@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Fix up getopt() reset management so it works on recent mingw.

The mingw people don't appear to care about compatibility with non-GNU
versions of getopt, so force use of our own copy of getopt on Windows.
Also, ensure that we make use of optreset when using our own copy.

Per report from Andrew Dunstan.  Back-patch to all versions supported
on Windows.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=5cdd65f3241ce10c66953228daef60df7b3966d1

Modified Files
--------------
configure                           |   25 +++++++++++++++++++++----
configure.in                        |   21 ++++++++++++++-------
src/backend/postmaster/postmaster.c |    5 +++--
src/backend/tcop/postgres.c         |    5 +++--
4 files changed, 41 insertions(+), 15 deletions(-)

pgsql-committers by date

Next:From: Tom LaneDate: 2010-12-16 04:51:48
Subject: pgsql: Fix up getopt() reset management so it works on recent mingw.
Previous:From: Tom LaneDate: 2010-12-16 02:25:03
Subject: pgsql: Fix contrib/seg's GiST picksplit method.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group