[GRASS-SVN] r40718 - grass/branches/releasebranch_6_4/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jan 27 20:44:49 EST 2010
Author: neteler
Date: 2010-01-27 20:44:49 -0500 (Wed, 27 Jan 2010)
New Revision: 40718
Modified:
grass/branches/releasebranch_6_4/lib/gis/spawn.c
Log:
glynn: Ensure environment array is NULL-terminated (backport from dev65, r40710)
Modified: grass/branches/releasebranch_6_4/lib/gis/spawn.c
===================================================================
--- grass/branches/releasebranch_6_4/lib/gis/spawn.c 2010-01-28 01:43:20 UTC (rev 40717)
+++ grass/branches/releasebranch_6_4/lib/gis/spawn.c 2010-01-28 01:44:49 UTC (rev 40718)
@@ -467,6 +467,8 @@
for (i = 0; i < num_bindings; i++)
add_binding(newenv, &n, &bindings[i]);
+ newenv[num_bindings + n] = NULL;
+
return newenv;
}
More information about the grass-commit
mailing list