]> 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:07 +0000 (23:51 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 16 Dec 2010 04:51:07 +0000 (23:51 -0500)
commit6a61d58ca8d28b1d0e49a6906ac61ab86f12493c
treeaf15ef33387ffa70a0f58afdae15d116eefe7688
parent16d5fd6a991cd37b79260a82f50d730433df8c54
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