[GRASS-SVN] r31775 - grass/trunk/imagery/i.group
svn_grass at osgeo.org
svn_grass at osgeo.org
Sat Jun 21 05:39:52 EDT 2008
Author: glynn
Date: 2008-06-21 05:39:51 -0400 (Sat, 21 Jun 2008)
New Revision: 31775
Modified:
grass/trunk/imagery/i.group/main.c
Log:
The string returned from G_mapset() must not be modified
Modified: grass/trunk/imagery/i.group/main.c
===================================================================
--- grass/trunk/imagery/i.group/main.c 2008-06-21 09:28:26 UTC (rev 31774)
+++ grass/trunk/imagery/i.group/main.c 2008-06-21 09:39:51 UTC (rev 31775)
@@ -335,7 +335,7 @@
/* Parse out mapset */
if (G__name_is_fully_qualified(rasters[n], xname, xmapset)) {
strcpy(tmp_name, xname);
- strcpy(mapset, xmapset);
+ mapset = xmapset;
}
G_debug(3, "tmp_name %s, ref_tmp.file[%d].name: %s", tmp_name, m, ref_tmp.file[m].name);
More information about the grass-commit
mailing list