[GRASS-SVN] r46836 - grass/branches/develbranch_6/raster/r.proj.seg
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed Jun 29 05:31:24 EDT 2011
Author: mmetz
Date: 2011-06-29 02:31:24 -0700 (Wed, 29 Jun 2011)
New Revision: 46836
Modified:
grass/branches/develbranch_6/raster/r.proj.seg/main.c
Log:
fix segfault
Modified: grass/branches/develbranch_6/raster/r.proj.seg/main.c
===================================================================
--- grass/branches/develbranch_6/raster/r.proj.seg/main.c 2011-06-29 09:30:16 UTC (rev 46835)
+++ grass/branches/develbranch_6/raster/r.proj.seg/main.c 2011-06-29 09:31:24 UTC (rev 46836)
@@ -287,9 +287,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