[GRASS-SVN] r29952 -
grass/branches/releasebranch_6_3/raster/r.le/r.le.setup
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Feb 5 01:53:14 EST 2008
Author: hamish
Date: 2008-02-05 01:53:14 -0500 (Tue, 05 Feb 2008)
New Revision: 29952
Modified:
grass/branches/releasebranch_6_3/raster/r.le/r.le.setup/ask_group.c
Log:
fix segfault due to unset pointer (merge from trunk)
Modified: grass/branches/releasebranch_6_3/raster/r.le/r.le.setup/ask_group.c
===================================================================
--- grass/branches/releasebranch_6_3/raster/r.le/r.le.setup/ask_group.c 2008-02-05 06:49:13 UTC (rev 29951)
+++ grass/branches/releasebranch_6_3/raster/r.le/r.le.setup/ask_group.c 2008-02-05 06:53:14 UTC (rev 29952)
@@ -310,7 +310,7 @@
char *buf;
G_system("clear");
- fopen0("r.le.para/from_to", "w");
+ fp = fopen0("r.le.para/from_to", "w");
buf = G_malloc(513);
fprintf(stderr, "\n\n Please enter \"FROM\" attribute group followed by \"0 end\"\n");
More information about the grass-commit
mailing list