[GRASS-SVN] r52698 - grass/branches/releasebranch_6_4/general/g.parser
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Aug 17 06:14:14 PDT 2012
Author: neteler
Date: 2012-08-17 06:14:13 -0700 (Fri, 17 Aug 2012)
New Revision: 52698
Modified:
grass/branches/releasebranch_6_4/general/g.parser/main.c
Log:
say where the debug msg came from (backport of r52458)
Modified: grass/branches/releasebranch_6_4/general/g.parser/main.c
===================================================================
--- grass/branches/releasebranch_6_4/general/g.parser/main.c 2012-08-17 13:00:41 UTC (rev 52697)
+++ grass/branches/releasebranch_6_4/general/g.parser/main.c 2012-08-17 13:14:13 UTC (rev 52698)
@@ -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