[GRASS-SVN] r40856 - in grass/trunk: general/g.dirseps
general/g.mkfontcap lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Feb 7 21:29:08 EST 2010
Author: glynn
Date: 2010-02-07 21:29:07 -0500 (Sun, 07 Feb 2010)
New Revision: 40856
Modified:
grass/trunk/general/g.dirseps/main.c
grass/trunk/general/g.mkfontcap/main.c
grass/trunk/lib/gis/gisinit.c
Log:
Revert r40855 (breaks g.proj, g.gisenv)
Inhibit reading of $GISRC for g.dirseps and g.mkfontcap
Modified: grass/trunk/general/g.dirseps/main.c
===================================================================
--- grass/trunk/general/g.dirseps/main.c 2010-02-08 02:24:23 UTC (rev 40855)
+++ grass/trunk/general/g.dirseps/main.c 2010-02-08 02:29:07 UTC (rev 40856)
@@ -28,6 +28,7 @@
G_set_program_name(argv[0]);
G_no_gisinit();
+ G_set_gisrc_mode(G_GISRC_MODE_MEMORY);
module = G_define_module();
G_add_keyword(_("general"));
Modified: grass/trunk/general/g.mkfontcap/main.c
===================================================================
--- grass/trunk/general/g.mkfontcap/main.c 2010-02-08 02:24:23 UTC (rev 40855)
+++ grass/trunk/general/g.mkfontcap/main.c 2010-02-08 02:29:07 UTC (rev 40856)
@@ -65,6 +65,7 @@
G_set_program_name(argv[0]);
G_no_gisinit();
+ G_set_gisrc_mode(G_GISRC_MODE_MEMORY);
module = G_define_module();
G_add_keyword(_("general"));
Modified: grass/trunk/lib/gis/gisinit.c
===================================================================
--- grass/trunk/lib/gis/gisinit.c 2010-02-08 02:24:23 UTC (rev 40855)
+++ grass/trunk/lib/gis/gisinit.c 2010-02-08 02:29:07 UTC (rev 40856)
@@ -90,8 +90,6 @@
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