[GRASS-SVN] r31776 - grass/trunk/imagery/i.group

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jun 21 05:42:32 EDT 2008


Author: glynn
Date: 2008-06-21 05:42:32 -0400 (Sat, 21 Jun 2008)
New Revision: 31776

Modified:
   grass/trunk/imagery/i.group/main.c
Log:
Fix second occurrence of same bug as r31775


Modified: grass/trunk/imagery/i.group/main.c
===================================================================
--- grass/trunk/imagery/i.group/main.c	2008-06-21 09:39:51 UTC (rev 31775)
+++ grass/trunk/imagery/i.group/main.c	2008-06-21 09:42:32 UTC (rev 31776)
@@ -280,7 +280,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