[GRASS-SVN] r61742 - grass/branches/releasebranch_7_0/vector/v.distance

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 25 22:45:32 PDT 2014


Author: neteler
Date: 2014-08-25 22:45:32 -0700 (Mon, 25 Aug 2014)
New Revision: 61742

Modified:
   grass/branches/releasebranch_7_0/vector/v.distance/main.c
Log:
v.distance: allow map read access from other mapsets in search path

Modified: grass/branches/releasebranch_7_0/vector/v.distance/main.c
===================================================================
--- grass/branches/releasebranch_7_0/vector/v.distance/main.c	2014-08-26 05:42:31 UTC (rev 61741)
+++ grass/branches/releasebranch_7_0/vector/v.distance/main.c	2014-08-26 05:45:32 UTC (rev 61742)
@@ -295,7 +295,7 @@
 
     /* Open 'from' vector */
     Vect_set_open_level(2);
-    Vect_open_old2(&From, opt.from->answer, G_mapset(), opt.from_field->answer);
+    Vect_open_old2(&From, opt.from->answer, "", opt.from_field->answer);
 
     from_field = Vect_get_field_number(&From, opt.from_field->answer);
 



More information about the grass-commit mailing list