[GRASS-SVN] r46835 -
grass/branches/releasebranch_6_4/raster/r.proj.seg
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jun 29 05:30:16 EDT 2011
Author: mmetz
Date: 2011-06-29 02:30:16 -0700 (Wed, 29 Jun 2011)
New Revision: 46835
Modified:
grass/branches/releasebranch_6_4/raster/r.proj.seg/main.c
Log:
fix segfault
Modified: grass/branches/releasebranch_6_4/raster/r.proj.seg/main.c
===================================================================
--- grass/branches/releasebranch_6_4/raster/r.proj.seg/main.c 2011-06-29 08:34:56 UTC (rev 46834)
+++ grass/branches/releasebranch_6_4/raster/r.proj.seg/main.c 2011-06-29 09:30:16 UTC (rev 46835)
@@ -285,9 +285,9 @@
int i;
char **list;
G_verbose_message(_("Checking location <%s> mapset <%s>"),
- inlocation->answer, imapset->answer);
+ inlocation->answer, setname);
list = G_list(G_ELEMENT_RASTER, G__getenv("GISDBASE"),
- G__getenv("LOCATION_NAME"), imapset->answer);
+ G__getenv("LOCATION_NAME"), setname);
for (i = 0; list[i]; i++) {
fprintf(stdout, "%s\n", list[i]);
}
More information about the grass-commit
mailing list