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

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Nov 6 19:45:22 EST 2008


Author: glynn
Date: 2008-11-06 19:45:22 -0500 (Thu, 06 Nov 2008)
New Revision: 34173

Modified:
   grass/branches/develbranch_6/general/g.parser/main.c
Log:
Enlarge buffer size (merge r34172 from trunk)


Modified: grass/branches/develbranch_6/general/g.parser/main.c
===================================================================
--- grass/branches/develbranch_6/general/g.parser/main.c	2008-11-07 00:41:24 UTC (rev 34172)
+++ grass/branches/develbranch_6/general/g.parser/main.c	2008-11-07 00:45:22 UTC (rev 34173)
@@ -358,7 +358,7 @@
      * to uppercase it was necessary to use uppercase variables.
      * Set both until all scripts are updated */
     for (flag = ctx.first_flag; flag; flag = flag->next_flag) {
-	char buff[12];
+	char buff[16];
 
 	sprintf(buff, "GIS_FLAG_%c=%d", flag->key, flag->answer ? 1 : 0);
 	putenv(G_store(buff));



More information about the grass-commit mailing list