[GRASS-SVN] r40854 - grass/branches/develbranch_6/lib/gis

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


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

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


Modified: grass/branches/develbranch_6/lib/gis/gisinit.c
===================================================================
--- grass/branches/develbranch_6/lib/gis/gisinit.c	2010-02-08 01:50:10 UTC (rev 40853)
+++ grass/branches/develbranch_6/lib/gis/gisinit.c	2010-02-08 02:23:31 UTC (rev 40854)
@@ -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();
 
     return 0;



More information about the grass-commit mailing list