From: Paul Ramsey Date: Sat, 2 Jan 2010 06:57:08 +0000 (+0000) Subject: Flip back to pgis_getopt X-Git-Tag: 1.5.0b1~19 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6d320b4ae9ca3e75be60dd3eeb76710671181cd2;p=postgis Flip back to pgis_getopt git-svn-id: http://svn.osgeo.org/postgis/trunk@5088 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/loader/shp2pgsql-gui.c b/loader/shp2pgsql-gui.c index c23757b8d..8cb317085 100644 --- a/loader/shp2pgsql-gui.c +++ b/loader/shp2pgsql-gui.c @@ -1180,7 +1180,7 @@ main(int argc, char *argv[]) conn = malloc(sizeof(SHPCONNECTIONCONFIG)); memset(conn, 0, sizeof(SHPCONNECTIONCONFIG)); - while ((c = getopt(argc, argv, "U:p:W:d:h:")) != -1) + while ((c = pgis_getopt(argc, argv, "U:p:W:d:h:")) != -1) { switch (c) {