[GRASS-SVN] r63187 - grass/trunk/lib/manage
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Nov 27 03:09:36 PST 2014
Author: martinl
Date: 2014-11-27 03:09:36 -0800 (Thu, 27 Nov 2014)
New Revision: 63187
Modified:
grass/trunk/lib/manage/option.c
Log:
managelib: fix M_get_option_desc() - enlarge buffer
Modified: grass/trunk/lib/manage/option.c
===================================================================
--- grass/trunk/lib/manage/option.c 2014-11-27 11:04:52 UTC (rev 63186)
+++ grass/trunk/lib/manage/option.c 2014-11-27 11:09:36 UTC (rev 63187)
@@ -115,7 +115,7 @@
len += strlen(list[n].text) + 1;
}
if (do_all)
- len += strlen(str_all);
+ len += strlen(str_all) + 1;
str = G_malloc(len);
for (n = 0; n < nlist; n++) {
More information about the grass-commit
mailing list