瀏覽代碼

r.info picks map from current Mapset instead of PERMANENT (https://trac.osgeo.org/grass/ticket/2687)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@65437 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 年之前
父節點
當前提交
194efc26f1
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      lib/gis/open.c

+ 2 - 0
lib/gis/open.c

@@ -83,6 +83,8 @@ static int G__open(const char *element,
             
             
             if (!mapset)
             if (!mapset)
                 return -1;
                 return -1;
+
+            G_file_name(path, element, name, mapset);
         }
         }
         
         
 	if ((fd = open(path, 0)) < 0)
 	if ((fd = open(path, 0)) < 0)