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

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 5 06:35:42 EST 2008


Author: neteler
Date: 2008-11-05 06:35:42 -0500 (Wed, 05 Nov 2008)
New Revision: 34162

Modified:
   grass/branches/develbranch_6/general/g.parser/main.c
Log:
longer buffer to avoid r.in.wms/r.in.gdalwarp crash (merge from trunk, r34161)

Modified: grass/branches/develbranch_6/general/g.parser/main.c
===================================================================
--- grass/branches/develbranch_6/general/g.parser/main.c	2008-11-05 11:35:13 UTC (rev 34161)
+++ grass/branches/develbranch_6/general/g.parser/main.c	2008-11-05 11:35:42 UTC (rev 34162)
@@ -371,7 +371,7 @@
     }
 
     for (option = ctx.first_option; option; option = option->next_opt) {
-	char buff[1024], upper[1024];
+	char buff[4096], upper[4096];
 
 	sprintf(buff, "GIS_OPT_%s=%s", option->key,
 		option->answer ? option->answer : "");



More information about the grass-commit mailing list