]> granicus.if.org Git - postgis/commitdiff
Flip back to pgis_getopt
authorPaul Ramsey <pramsey@cleverelephant.ca>
Sat, 2 Jan 2010 06:57:08 +0000 (06:57 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Sat, 2 Jan 2010 06:57:08 +0000 (06:57 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5088 b70326c6-7e19-0410-871a-916f4a2858ee

loader/shp2pgsql-gui.c

index c23757b8d3222992ae588e23eb61ea5e65601e01..8cb317085bec05c58f36c325a9e37f7979154756 100644 (file)
@@ -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)
                {