[GRASS-SVN] r52314 - grass/trunk/general/g.parser

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Jul 5 09:19:01 PDT 2012


Author: mmetz
Date: 2012-07-05 09:19:01 -0700 (Thu, 05 Jul 2012)
New Revision: 52314

Modified:
   grass/trunk/general/g.parser/main.c
Log:
g.parser: revert r52297, issue fixed in r52313

Modified: grass/trunk/general/g.parser/main.c
===================================================================
--- grass/trunk/general/g.parser/main.c	2012-07-05 16:16:49 UTC (rev 52313)
+++ grass/trunk/general/g.parser/main.c	2012-07-05 16:19:01 UTC (rev 52314)
@@ -66,11 +66,8 @@
 
     filename = argv[1];
     argv++, argc--;
-    /* g.parser should write to stderr only in case of an error. */
-    /* G_debug output is not an error. */
+    G_debug(2, "filename = %s", filename);
 
-    /* G_debug(2, "filename = %s", filename); */
-
     ctx.fp = fopen(filename, "r");
     if (!ctx.fp) {
 	perror(_("Unable to open script file"));



More information about the grass-commit mailing list