[GRASS-SVN] r65437 - grass/trunk/lib/gis

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Jun 10 12:17:13 PDT 2015


Author: martinl
Date: 2015-06-10 12:17:13 -0700 (Wed, 10 Jun 2015)
New Revision: 65437

Modified:
   grass/trunk/lib/gis/open.c
Log:
r.info picks map from current Mapset instead of PERMANENT (#2687)


Modified: grass/trunk/lib/gis/open.c
===================================================================
--- grass/trunk/lib/gis/open.c	2015-06-10 19:00:04 UTC (rev 65436)
+++ grass/trunk/lib/gis/open.c	2015-06-10 19:17:13 UTC (rev 65437)
@@ -83,6 +83,8 @@
             
             if (!mapset)
                 return -1;
+
+            G_file_name(path, element, name, mapset);
         }
         
 	if ((fd = open(path, 0)) < 0)



More information about the grass-commit mailing list