[GRASS-SVN] r29950 - grass/trunk/raster/r.le/r.le.setup
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Feb 5 01:45:04 EST 2008
Author: hamish
Date: 2008-02-05 01:45:04 -0500 (Tue, 05 Feb 2008)
New Revision: 29950
Modified:
grass/trunk/raster/r.le/r.le.setup/ask_group.c
Log:
fix segfault due to unset pointer
Modified: grass/trunk/raster/r.le/r.le.setup/ask_group.c
===================================================================
--- grass/trunk/raster/r.le/r.le.setup/ask_group.c 2008-02-05 04:34:53 UTC (rev 29949)
+++ grass/trunk/raster/r.le/r.le.setup/ask_group.c 2008-02-05 06:45:04 UTC (rev 29950)
@@ -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