[GRASS-SVN] r63833 - in grass-addons/grass7: raster/r.findtheriver vector/v.net.salesman.opt

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Dec 29 10:17:37 PST 2014


Author: martinl
Date: 2014-12-29 10:17:37 -0800 (Mon, 29 Dec 2014)
New Revision: 63833

Modified:
   grass-addons/grass7/raster/r.findtheriver/main.c
   grass-addons/grass7/vector/v.net.salesman.opt/main.c
Log:
update to r63832


Modified: grass-addons/grass7/raster/r.findtheriver/main.c
===================================================================
--- grass-addons/grass7/raster/r.findtheriver/main.c	2014-12-29 18:16:10 UTC (rev 63832)
+++ grass-addons/grass7/raster/r.findtheriver/main.c	2014-12-29 18:17:37 UTC (rev 63833)
@@ -129,8 +129,8 @@
     if (G_parser(argc, argv))
 	exit(EXIT_FAILURE);
 
-    if (G__getenv("DEBUG"))
-	debug = atoi(G__getenv("DEBUG"));
+    if (G_getenv_nofatal("DEBUG"))
+	debug = atoi(G_getenv_nofatal("DEBUG"));
     else
 	debug = 0;
 

Modified: grass-addons/grass7/vector/v.net.salesman.opt/main.c
===================================================================
--- grass-addons/grass7/vector/v.net.salesman.opt/main.c	2014-12-29 18:16:10 UTC (rev 63832)
+++ grass-addons/grass7/vector/v.net.salesman.opt/main.c	2014-12-29 18:17:37 UTC (rev 63833)
@@ -185,7 +185,7 @@
     tfield = atoi(tfield_opt->answer);
     Vect_str_to_cat_list(term_opt->answer, Clist);
     
-    dstr = G__getenv("DEBUG");
+    dstr = G_getenv_nofatal("DEBUG");
 
     if (dstr != NULL)
 	debug_level = atoi(dstr);



More information about the grass-commit mailing list