[GRASS-SVN] r55042 - grass/trunk/general/g.mlist

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Feb 13 21:47:45 PST 2013


Author: glynn
Date: 2013-02-13 21:47:45 -0800 (Wed, 13 Feb 2013)
New Revision: 55042

Modified:
   grass/trunk/general/g.mlist/main.c
Log:
Fix r55041 - g.mlist isn't specific to vectors (issue #1390)


Modified: grass/trunk/general/g.mlist/main.c
===================================================================
--- grass/trunk/general/g.mlist/main.c	2013-02-14 05:43:22 UTC (rev 55041)
+++ grass/trunk/general/g.mlist/main.c	2013-02-14 05:47:45 UTC (rev 55042)
@@ -272,7 +272,7 @@
 	fprintf(stdout, "%s", name);
 
 	if (!add_mapset) {
-	    const char *mapset2 = G_find_raster2(name, "");
+	    const char *mapset2 = G_find_file2(element, name, "");
 	    need_mapset = strcmp(mapset, mapset2) != 0;
 	}
 	if (add_mapset || need_mapset)



More information about the grass-commit mailing list