]> granicus.if.org Git - postgresql/commit
Fix up getopt() reset management so it works on recent mingw.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 16 Dec 2010 04:51:02 +0000 (23:51 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 16 Dec 2010 04:51:02 +0000 (23:51 -0500)
commit9fe5a62a1711b939643f5d1faeba1d336f990184
tree7c6237e41ba04d077418c473e023ec6d4995ce04
parent04a1f0938717561feff526f39e930eef85c42379
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.
configure
configure.in
src/backend/postmaster/postmaster.c