[GRASS-SVN] r67363 - grass/branches/releasebranch_7_0/vector/v.in.ascii

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Dec 24 07:04:00 PST 2015


Author: martinl
Date: 2015-12-24 07:04:00 -0800 (Thu, 24 Dec 2015)
New Revision: 67363

Modified:
   grass/branches/releasebranch_7_0/vector/v.in.ascii/main.c
Log:
v.in.ascii: remove not needed mingw32 ifdef (avoid workarounds)
            (merge r67362 from trunk)


Modified: grass/branches/releasebranch_7_0/vector/v.in.ascii/main.c
===================================================================
--- grass/branches/releasebranch_7_0/vector/v.in.ascii/main.c	2015-12-24 14:52:18 UTC (rev 67362)
+++ grass/branches/releasebranch_7_0/vector/v.in.ascii/main.c	2015-12-24 15:04:00 UTC (rev 67363)
@@ -535,11 +535,7 @@
 	    G_message(_("Populating table..."));
 	    db_commit_transaction(driver);
 	    if (db_close_database_shutdown_driver(driver) == DB_FAILED)
-#ifdef __MINGW32__
-		G_warning("FIXME: db_close_database_shutdown_driver() fails on WinGrass. Ignoring...");
-#else
-		G_fatal_error(_("Could not close attribute table. The DBMI driver did not accept all attributes"));
-#endif
+		G_fatal_error(_("Unable to close attribute table. The DBMI driver did not accept all attributes"));
 	}
 	fclose(tmpascii);
     }



More information about the grass-commit mailing list