[GRASS-SVN] r52458 - grass/branches/develbranch_6/general/g.parser

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jul 26 22:05:42 PDT 2012


Author: hamish
Date: 2012-07-26 22:05:40 -0700 (Thu, 26 Jul 2012)
New Revision: 52458

Modified:
   grass/branches/develbranch_6/general/g.parser/main.c
Log:
say where the debug msg came from

Modified: grass/branches/develbranch_6/general/g.parser/main.c
===================================================================
--- grass/branches/develbranch_6/general/g.parser/main.c	2012-07-27 04:50:36 UTC (rev 52457)
+++ grass/branches/develbranch_6/general/g.parser/main.c	2012-07-27 05:05:40 UTC (rev 52458)
@@ -297,7 +297,7 @@
 	sprintf(buff, "GIS_FLAG_%c=%d", toupper(flag->key),
 		flag->answer ? 1 : 0);
 
-	G_debug(2, "set %s", buff);
+	G_debug(2, "g.parser: set %s", buff);
 	putenv(G_store(buff));
     }
 
@@ -314,7 +314,7 @@
 	G_asprintf(&str, "GIS_OPT_%s=%s", upper,
 		   option->answer ? option->answer : "");
 
-	G_debug(2, "set %s", str);
+	G_debug(2, "g.parser: set %s", str);
 	putenv(str);
     }
 
@@ -331,7 +331,7 @@
 	if (shell == NULL)
 	    shell = "sh";
 	ret = G_spawn(shell, shell, filename, "@ARGS_PARSED@", NULL);
-	G_debug(1, "ret = %d", ret);
+	G_debug(1, "g.parser: ret = %d", ret);
 	if (ret == -1) {
 	    perror("G_spawn() failed");
 	    return 1;



More information about the grass-commit mailing list