[GRASS-SVN] r34161 - grass/trunk/general/g.parser
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Nov 5 06:35:13 EST 2008
Author: neteler
Date: 2008-11-05 06:35:13 -0500 (Wed, 05 Nov 2008)
New Revision: 34161
Modified:
grass/trunk/general/g.parser/main.c
Log:
longer buffer to avoid r.in.wms/r.in.gdalwarp crash
Modified: grass/trunk/general/g.parser/main.c
===================================================================
--- grass/trunk/general/g.parser/main.c 2008-11-05 10:33:28 UTC (rev 34160)
+++ grass/trunk/general/g.parser/main.c 2008-11-05 11:35:13 UTC (rev 34161)
@@ -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