[GRASS-SVN] r29951 - grass/branches/releasebranch_6_2/raster/r.le/r.le.setup

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Feb 5 01:49:13 EST 2008


Author: hamish
Date: 2008-02-05 01:49:13 -0500 (Tue, 05 Feb 2008)
New Revision: 29951

Modified:
   grass/branches/releasebranch_6_2/raster/r.le/r.le.setup/ask_group.c
Log:
fix segfault due to unset pointer (merge from trunk)

Modified: grass/branches/releasebranch_6_2/raster/r.le/r.le.setup/ask_group.c
===================================================================
--- grass/branches/releasebranch_6_2/raster/r.le/r.le.setup/ask_group.c	2008-02-05 06:45:04 UTC (rev 29950)
+++ grass/branches/releasebranch_6_2/raster/r.le/r.le.setup/ask_group.c	2008-02-05 06:49:13 UTC (rev 29951)
@@ -343,7 +343,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