[GRASS-SVN] r52292 - grass/branches/develbranch_6/lib/vector/Vlib

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jul 3 09:15:08 PDT 2012


Author: martinl
Date: 2012-07-03 09:15:07 -0700 (Tue, 03 Jul 2012)
New Revision: 52292

Modified:
   grass/branches/develbranch_6/lib/vector/Vlib/open_ogr.c
Log:
vlib: call fatal error when opening OGR links on update mode
      (merge r52291 from relbr64)


Modified: grass/branches/develbranch_6/lib/vector/Vlib/open_ogr.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/Vlib/open_ogr.c	2012-07-03 16:12:48 UTC (rev 52291)
+++ grass/branches/develbranch_6/lib/vector/Vlib/open_ogr.c	2012-07-03 16:15:07 UTC (rev 52292)
@@ -50,7 +50,7 @@
     OGRFeatureDefnH Ogr_featuredefn;
 
     if (update) {
-	G_warning(_("OGR format cannot be updated"));
+	G_fatal_error(_("OGR format cannot be updated"));
 	return -1;
     }
 



More information about the grass-commit mailing list