Browse Source

Enlarge buffer

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@34172 15284696-431f-4ddb-bdfa-cd5b030d7da7
Glynn Clements 16 years ago
parent
commit
946da99526
1 changed files with 1 additions and 1 deletions
  1. 1 1
      general/g.parser/main.c

+ 1 - 1
general/g.parser/main.c

@@ -358,7 +358,7 @@ int main(int argc, char *argv[])
      * 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));