[GRASS-SVN] r42304 - grass/trunk/lib/gis
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue May 18 13:16:32 EDT 2010
Author: martinl
Date: 2010-05-18 13:16:30 -0400 (Tue, 18 May 2010)
New Revision: 42304
Modified:
grass/trunk/lib/gis/find_cell.c
grass/trunk/lib/gis/find_vect.c
Log:
libgis: debug G_find_raster/vector()
Modified: grass/trunk/lib/gis/find_cell.c
===================================================================
--- grass/trunk/lib/gis/find_cell.c 2010-05-18 14:00:20 UTC (rev 42303)
+++ grass/trunk/lib/gis/find_cell.c 2010-05-18 17:16:30 UTC (rev 42304)
@@ -54,6 +54,7 @@
*/
const char *G_find_raster(char *name, const char *mapset)
{
+ G_debug(1, "G_find_raster(): name=%s mapset=%s", name, mapset);
return G_find_file("cell", name, mapset);
}
@@ -74,5 +75,6 @@
*/
const char *G_find_raster2(const char *name, const char *mapset)
{
+ G_debug(1, "G_find_raster2(): name=%s mapset=%s", name, mapset);
return G_find_file2("cell", name, mapset);
}
Modified: grass/trunk/lib/gis/find_vect.c
===================================================================
--- grass/trunk/lib/gis/find_vect.c 2010-05-18 14:00:20 UTC (rev 42303)
+++ grass/trunk/lib/gis/find_vect.c 2010-05-18 17:16:30 UTC (rev 42304)
@@ -40,6 +40,7 @@
*/
const char *G_find_vector(char *name, const char *mapset)
{
+ G_debug(1, "G_find_vector(): name=%s mapset=%s", name, mapset);
return G_find_file(GV_DIRECTORY, name, mapset);
}
@@ -60,6 +61,7 @@
*/
const char *G_find_vector2(const char *name, const char *mapset)
{
+ G_debug(1, "G_find_vector2(): name=%s mapset=%s", name, mapset);
return G_find_file2(GV_DIRECTORY, name, mapset);
}
More information about the grass-commit
mailing list