[GRASS-SVN] r40855 - grass/trunk/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Feb 7 21:24:23 EST 2010


Author: glynn
Date: 2010-02-07 21:24:23 -0500 (Sun, 07 Feb 2010)
New Revision: 40855

Modified:
   grass/trunk/lib/gis/gisinit.c
Log:
Inhibit reading of environment when G_no_gisinit() is used


Modified: grass/trunk/lib/gis/gisinit.c
===================================================================
--- grass/trunk/lib/gis/gisinit.c	2010-02-08 02:23:31 UTC (rev 40854)
+++ grass/trunk/lib/gis/gisinit.c	2010-02-08 02:24:23 UTC (rev 40855)
@@ -90,6 +90,8 @@
 	G_fatal_error(_("Incompatible library version for module. "
 			"You need to rebuild GRASS or untangle multiple installations."));
 
+    G_set_gisrc_mode(G_GISRC_MODE_MEMORY);
+
     gisinit();
 }
 



More information about the grass-commit mailing list