[GRASS-SVN] r61743 - grass/trunk/vector/v.distance

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 25 22:46:35 PDT 2014


Author: neteler
Date: 2014-08-25 22:46:35 -0700 (Mon, 25 Aug 2014)
New Revision: 61743

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

Modified: grass/trunk/vector/v.distance/main.c
===================================================================
--- grass/trunk/vector/v.distance/main.c	2014-08-26 05:45:32 UTC (rev 61742)
+++ grass/trunk/vector/v.distance/main.c	2014-08-26 05:46:35 UTC (rev 61743)
@@ -295,7 +295,7 @@
 
     /* Open 'from' vector */
     Vect_set_open_level(2);
-    if (Vect_open_old2(&From, opt.from->answer, G_mapset(), opt.from_field->answer) < 0)
+    if (Vect_open_old2(&From, opt.from->answer, "", opt.from_field->answer) < 0)
 	G_fatal_error(_("Unable to open vector map <%s>"), opt.from->answer);
 
     from_field = Vect_get_field_number(&From, opt.from_field->answer);



More information about the grass-commit mailing list