[GRASS-SVN] r34288 - in grass/branches/develbranch_6: gui/wxpython/vdigit include lib/sites lib/vector/Vlib lib/vector/vedit raster/r.carve raster/r.contour raster/r.flow raster/r.random raster/r.to.vect vector/lidar/v.outlier vector/v.buffer vector/v.build vector/v.build.polylines vector/v.category vector/v.clean vector/v.convert vector/v.digit vector/v.distance vector/v.drape vector/v.edit vector/v.external vector/v.extract vector/v.extrude vector/v.generalize vector/v.hull vector/v.in.ascii vector/v.in.db vector/v.in.dxf vector/v.in.ogr vector/v.in.region vector/v.in.sites vector/v.kcv vector/v.kernel vector/v.lrs/v.lrs.create vector/v.lrs/v.lrs.label vector/v.lrs/v.lrs.segment vector/v.mkgrid vector/v.net vector/v.net.alloc vector/v.net.iso vector/v.net.path vector/v.net.salesman vector/v.net.steiner vector/v.net.visibility vector/v.overlay vector/v.parallel vector/v.patch vector/v.perturb vector/v.proj vector/v.qcount vector/v.random vector/v.reclass vector/v.sample vector/v.segment vector/v.select vector/v.split vector/v.surf.rst vector/v.to.points vector/v.transform vector/v.type vector/v.vol.rst vector/v.voronoi vector/v.what

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Nov 14 10:30:19 EST 2008


Author: neteler
Date: 2008-11-14 10:30:19 -0500 (Fri, 14 Nov 2008)
New Revision: 34288

Modified:
   grass/branches/develbranch_6/gui/wxpython/vdigit/driver.cpp
   grass/branches/develbranch_6/gui/wxpython/vdigit/line.cpp
   grass/branches/develbranch_6/include/Vect.h
   grass/branches/develbranch_6/lib/sites/sites.c
   grass/branches/develbranch_6/lib/vector/Vlib/break_lines.c
   grass/branches/develbranch_6/lib/vector/Vlib/break_polygons.c
   grass/branches/develbranch_6/lib/vector/Vlib/bridges.c
   grass/branches/develbranch_6/lib/vector/Vlib/build.c
   grass/branches/develbranch_6/lib/vector/Vlib/build_nat.c
   grass/branches/develbranch_6/lib/vector/Vlib/build_ogr.c
   grass/branches/develbranch_6/lib/vector/Vlib/clean_nodes.c
   grass/branches/develbranch_6/lib/vector/Vlib/dangles.c
   grass/branches/develbranch_6/lib/vector/Vlib/map.c
   grass/branches/develbranch_6/lib/vector/Vlib/open.c
   grass/branches/develbranch_6/lib/vector/Vlib/remove_areas.c
   grass/branches/develbranch_6/lib/vector/Vlib/remove_duplicates.c
   grass/branches/develbranch_6/lib/vector/Vlib/select.c
   grass/branches/develbranch_6/lib/vector/Vlib/sindex.c
   grass/branches/develbranch_6/lib/vector/Vlib/snap.c
   grass/branches/develbranch_6/lib/vector/vedit/select.c
   grass/branches/develbranch_6/raster/r.carve/vect.c
   grass/branches/develbranch_6/raster/r.contour/main.c
   grass/branches/develbranch_6/raster/r.flow/io.c
   grass/branches/develbranch_6/raster/r.random/random.c
   grass/branches/develbranch_6/raster/r.to.vect/main.c
   grass/branches/develbranch_6/vector/lidar/v.outlier/main.c
   grass/branches/develbranch_6/vector/v.buffer/main.c
   grass/branches/develbranch_6/vector/v.build.polylines/main.c
   grass/branches/develbranch_6/vector/v.build/main.c
   grass/branches/develbranch_6/vector/v.category/main.c
   grass/branches/develbranch_6/vector/v.clean/main.c
   grass/branches/develbranch_6/vector/v.clean/prune.c
   grass/branches/develbranch_6/vector/v.convert/old2new.c
   grass/branches/develbranch_6/vector/v.digit/centre.c
   grass/branches/develbranch_6/vector/v.digit/main.c
   grass/branches/develbranch_6/vector/v.distance/main.c
   grass/branches/develbranch_6/vector/v.drape/main.c
   grass/branches/develbranch_6/vector/v.edit/a2b.c
   grass/branches/develbranch_6/vector/v.edit/main.c
   grass/branches/develbranch_6/vector/v.edit/snap.c
   grass/branches/develbranch_6/vector/v.external/main.c
   grass/branches/develbranch_6/vector/v.extract/main.c
   grass/branches/develbranch_6/vector/v.extrude/main.c
   grass/branches/develbranch_6/vector/v.generalize/main.c
   grass/branches/develbranch_6/vector/v.hull/main.c
   grass/branches/develbranch_6/vector/v.in.ascii/in.c
   grass/branches/develbranch_6/vector/v.in.db/main.c
   grass/branches/develbranch_6/vector/v.in.dxf/main.c
   grass/branches/develbranch_6/vector/v.in.ogr/main.c
   grass/branches/develbranch_6/vector/v.in.region/main.c
   grass/branches/develbranch_6/vector/v.in.sites/main.c
   grass/branches/develbranch_6/vector/v.kcv/main.c
   grass/branches/develbranch_6/vector/v.kernel/main.c
   grass/branches/develbranch_6/vector/v.lrs/v.lrs.create/main.c
   grass/branches/develbranch_6/vector/v.lrs/v.lrs.label/main.c
   grass/branches/develbranch_6/vector/v.lrs/v.lrs.segment/main.c
   grass/branches/develbranch_6/vector/v.mkgrid/main.c
   grass/branches/develbranch_6/vector/v.net.alloc/main.c
   grass/branches/develbranch_6/vector/v.net.iso/main.c
   grass/branches/develbranch_6/vector/v.net.path/main.c
   grass/branches/develbranch_6/vector/v.net.salesman/main.c
   grass/branches/develbranch_6/vector/v.net.steiner/main.c
   grass/branches/develbranch_6/vector/v.net.visibility/main.c
   grass/branches/develbranch_6/vector/v.net/connect.c
   grass/branches/develbranch_6/vector/v.net/main.c
   grass/branches/develbranch_6/vector/v.overlay/area_area.c
   grass/branches/develbranch_6/vector/v.overlay/line_area.c
   grass/branches/develbranch_6/vector/v.overlay/main.c
   grass/branches/develbranch_6/vector/v.parallel/main.c
   grass/branches/develbranch_6/vector/v.patch/main.c
   grass/branches/develbranch_6/vector/v.perturb/main.c
   grass/branches/develbranch_6/vector/v.proj/main.c
   grass/branches/develbranch_6/vector/v.qcount/main.c
   grass/branches/develbranch_6/vector/v.random/main.c
   grass/branches/develbranch_6/vector/v.reclass/main.c
   grass/branches/develbranch_6/vector/v.sample/main.c
   grass/branches/develbranch_6/vector/v.segment/main.c
   grass/branches/develbranch_6/vector/v.select/main.c
   grass/branches/develbranch_6/vector/v.split/main.c
   grass/branches/develbranch_6/vector/v.surf.rst/main.c
   grass/branches/develbranch_6/vector/v.to.points/main.c
   grass/branches/develbranch_6/vector/v.transform/main.c
   grass/branches/develbranch_6/vector/v.type/main.c
   grass/branches/develbranch_6/vector/v.vol.rst/main.c
   grass/branches/develbranch_6/vector/v.voronoi/dt_main.c
   grass/branches/develbranch_6/vector/v.voronoi/vo_main.c
   grass/branches/develbranch_6/vector/v.what/main.c
Log:
glynn: Eliminate non-standard logging mechanism (merge from trunk, r34284)

Modified: grass/branches/develbranch_6/gui/wxpython/vdigit/driver.cpp
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/vdigit/driver.cpp	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/gui/wxpython/vdigit/driver.cpp	2008-11-14 15:30:19 UTC (rev 34288)
@@ -104,8 +104,8 @@
     if (mapInfo) {
 	if (mapInfo->mode == GV_MODE_RW) {
 	    /* rebuild topology */
-	    Vect_build_partial(mapInfo, GV_BUILD_NONE, NULL);
-	    Vect_build(mapInfo, NULL);
+	    Vect_build_partial(mapInfo, GV_BUILD_NONE);
+	    Vect_build(mapInfo);
 	}
 	/* close map and store topo/cidx */
 	ret = Vect_close(mapInfo); 

Modified: grass/branches/develbranch_6/gui/wxpython/vdigit/line.cpp
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/vdigit/line.cpp	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/gui/wxpython/vdigit/line.cpp	2008-11-14 15:30:19 UTC (rev 34288)
@@ -603,7 +603,7 @@
     changeset = AddActionsBefore();
     
     ret = Vect_break_lines_list(display->mapInfo, display->selected.values, NULL,
-				GV_LINES, NULL, NULL);
+				GV_LINES, NULL);
 
     if (ret > 0) {
 	AddActionsAfter(changeset, nlines);
@@ -639,7 +639,7 @@
     changeset = AddActionsBefore();
     
     Vect_snap_lines_list (display->mapInfo, display->selected.values,
-			  thresh, NULL, NULL);
+			  thresh, NULL);
 
     if (nlines < Vect_get_num_lines(display->mapInfo)) {
 	AddActionsAfter(changeset, nlines);
@@ -957,7 +957,7 @@
     }
 
     ret = Vect_break_lines_list(display->mapInfo, listBreak, listRef,
-				GV_LINES, NULL, NULL);
+				GV_LINES, NULL);
 
     for (int i = 0; i < listBreak->n_values; i++) {	
 	if (Vect_line_alive(display->mapInfo, listBreak->value[i]))

Modified: grass/branches/develbranch_6/include/Vect.h
===================================================================
--- grass/branches/develbranch_6/include/Vect.h	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/include/Vect.h	2008-11-14 15:30:19 UTC (rev 34288)
@@ -194,9 +194,9 @@
 int Vect_open_update(struct Map_info *, const char *, const char *);
 int Vect_open_update_head(struct Map_info *, const char *, const char *);
 int Vect_copy_head_data(struct Map_info *, struct Map_info *);
-int Vect_build(struct Map_info *, FILE *);
+int Vect_build(struct Map_info *);
 int Vect_get_built(struct Map_info *);
-int Vect_build_partial(struct Map_info *, int, FILE *);
+int Vect_build_partial(struct Map_info *, int);
 int Vect_set_constraint_region(struct Map_info *, double, double, double,
 			       double, double, double);
 int Vect_set_constraint_type(struct Map_info *, int);
@@ -296,30 +296,25 @@
 int Vect_point_in_island(double, double, struct Map_info *, int);
 
 /* Cleaning */
-void Vect_break_lines(struct Map_info *, int, struct Map_info *, FILE *);
+void Vect_break_lines(struct Map_info *, int, struct Map_info *);
 int Vect_break_lines_list(struct Map_info *, struct ilist *, struct ilist *,
-			  int, struct Map_info *, FILE *);
-void Vect_break_polygons(struct Map_info *, int, struct Map_info *, FILE *);
-void Vect_remove_duplicates(struct Map_info *, int, struct Map_info *,
-			    FILE *);
+			  int, struct Map_info *);
+void Vect_break_polygons(struct Map_info *, int, struct Map_info *);
+void Vect_remove_duplicates(struct Map_info *, int, struct Map_info *);
 int Vect_line_check_duplicate(const struct line_pnts *,
 			      const struct line_pnts *, int);
-void Vect_snap_lines(struct Map_info *, int, double, struct Map_info *,
-		     FILE *);
+void Vect_snap_lines(struct Map_info *, int, double, struct Map_info *);
 void Vect_snap_lines_list(struct Map_info *, struct ilist *, double,
-			  struct Map_info *, FILE *);
-void Vect_remove_dangles(struct Map_info *, int, double, struct Map_info *,
-			 FILE *);
-void Vect_chtype_dangles(struct Map_info *, double, struct Map_info *,
-			 FILE *);
-void Vect_select_dangles(struct Map_info *, int, double, FILE *,
-			 struct ilist *);
-void Vect_remove_bridges(struct Map_info *, struct Map_info *, FILE *);
-void Vect_chtype_bridges(struct Map_info *, struct Map_info *, FILE *);
+			  struct Map_info *);
+void Vect_remove_dangles(struct Map_info *, int, double, struct Map_info *);
+void Vect_chtype_dangles(struct Map_info *, double, struct Map_info *);
+void Vect_select_dangles(struct Map_info *, int, double, struct ilist *);
+void Vect_remove_bridges(struct Map_info *, struct Map_info *);
+void Vect_chtype_bridges(struct Map_info *, struct Map_info *);
 int Vect_remove_small_areas(struct Map_info *, double, struct Map_info *,
-			    FILE *, double *);
+			    double *);
 int Vect_clean_small_angles_at_nodes(struct Map_info *, int,
-				     struct Map_info *, FILE *);
+				     struct Map_info *);
 
 /* Overlay */
 int Vect_overlay_str_to_operator(const char *);
@@ -360,8 +355,8 @@
 			    int);
 int Vect_option_to_types(struct Option *);
 int Vect_copy_map_lines(struct Map_info *, struct Map_info *);
-int Vect_copy(const char *, const char *, const char *, FILE *);
-int Vect_rename(const char *, const char *, FILE *);
+int Vect_copy(const char *, const char *, const char *);
+int Vect_rename(const char *, const char *);
 int Vect_copy_table(struct Map_info *, struct Map_info *, int, int,
 		    const char *, int);
 int Vect_copy_table_by_cats(struct Map_info *, struct Map_info *, int, int,
@@ -392,8 +387,8 @@
 int Vect_open_spatial_index(struct Map_info *);
 int Vect_save_spatial_index(struct Map_info *);
 int Vect_spatial_index_dump(struct Map_info *, FILE *);
-int Vect_build_sidx_from_topo(struct Map_info *, FILE *);
-int Vect_build_spatial_index(struct Map_info *, FILE *);
+int Vect_build_sidx_from_topo(struct Map_info *);
+int Vect_build_spatial_index(struct Map_info *);
 
 int Vect__write_head(struct Map_info *);
 int Vect__read_head(struct Map_info *);
@@ -447,8 +442,8 @@
 #endif
 
     /* Miscellaneous */
-int Vect_build_nat(struct Map_info *, int, FILE *);
-int Vect_build_ogr(struct Map_info *, int, FILE *);
+int Vect_build_nat(struct Map_info *, int);
+int Vect_build_ogr(struct Map_info *, int);
 int Vect_build_line_area(struct Map_info *, int, int);
 int Vect_isle_find_area(struct Map_info *, int);
 int Vect_attach_isle(struct Map_info *, int);

Modified: grass/branches/develbranch_6/lib/sites/sites.c
===================================================================
--- grass/branches/develbranch_6/lib/sites/sites.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/lib/sites/sites.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -492,7 +492,7 @@
     int i, j;
 
     if (Map->mode == GV_MODE_WRITE || Map->mode == GV_MODE_RW)
-	Vect_build(Map, stderr);
+	Vect_build(Map);
 
     Vect_close(Map);
 

Modified: grass/branches/develbranch_6/lib/vector/Vlib/break_lines.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/Vlib/break_lines.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/lib/vector/Vlib/break_lines.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -28,16 +28,14 @@
    \param Map input vector map 
    \param type feature type
    \param[out] Err vector map where points at intersections will be written or NULL
-   \param[out] msgout file pointer where messages will be written or NULL
 
    \return
  */
 
 void
-Vect_break_lines(struct Map_info *Map, int type, struct Map_info *Err,
-		 FILE * msgout)
+Vect_break_lines(struct Map_info *Map, int type, struct Map_info *Err)
 {
-    Vect_break_lines_list(Map, NULL, NULL, type, Err, msgout);
+    Vect_break_lines_list(Map, NULL, NULL, type, Err);
 
     return;
 }
@@ -60,15 +58,13 @@
    \param List_ref list of reference lines or NULL
    \param type feature type
    \param[out] Err vector map where points at intersections will be written or NULL
-   \param[out] msgout file pointer where messages will be written or NULL
 
    \return number of intersections
  */
 
 int
 Vect_break_lines_list(struct Map_info *Map, struct ilist *List_break,
-		      struct ilist *List_ref, int type, struct Map_info *Err,
-		      FILE * msgout)
+		      struct ilist *List_ref, int type, struct Map_info *Err)
 {
     struct line_pnts *APoints, *BPoints, *Points;
     struct line_pnts **AXLines, **BXLines;
@@ -84,7 +80,6 @@
     int is3d;
     int node, anode1, anode2, bnode1, bnode2;
     double nodex, nodey;
-    int printed;
 
     APoints = Vect_new_line_struct();
     BPoints = Vect_new_line_struct();
@@ -116,10 +111,8 @@
      * the file, and process next line (remaining lines overlapping box are skipped)
      */
     nbreaks = 0;
-    printed = 0;
 
-    if (msgout)
-	fprintf(msgout, _("%s %5d"), _("Intersections:"), nbreaks);
+    G_verbose_message(_("Intersections: %5d"), nbreaks);
 
     for (iline = 0; iline < nlines; iline++) {
 	if (List_break) {
@@ -361,14 +354,6 @@
 		G_free(yx);
 		G_free(zx);
 	    }
-
-	    if (msgout && printed > 1000) {
-		fprintf(msgout, "\r%s %5d (line %d)", _("Intersections:"),
-			nbreaks, aline);
-		fflush(msgout);
-		printed = 0;
-	    }
-	    printed++;
 	    if (naxlines > 0)
 		break;		/* first line was broken and deleted -> take the next one */
 	}
@@ -382,9 +367,7 @@
 	G_debug(3, "nlines =  %d", nlines);
     }				/* for each line */
 
-    if (msgout)
-	fprintf(msgout, "\r%s %5d                        \n",
-		_("Intersections:"), nbreaks);
+    G_verbose_message(_("Intersections: %5d"), nbreaks);
 
     Vect_destroy_list(List);
 

Modified: grass/branches/develbranch_6/lib/vector/Vlib/break_polygons.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/Vlib/break_polygons.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/lib/vector/Vlib/break_polygons.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -55,13 +55,11 @@
    \param Map input map where polygons will be broken
    \param type type of line to be broken
    \param Err vector map where points at intersections will be written or NULL
-   \param msgout file pointer where messages will be written or NULL
 
    \return
  */
 void
-Vect_break_polygons(struct Map_info *Map, int type, struct Map_info *Err,
-		    FILE * msgout)
+Vect_break_polygons(struct Map_info *Map, int type, struct Map_info *Err)
 {
     struct line_pnts *BPoints, *Points;
     struct line_cats *Cats;
@@ -73,7 +71,6 @@
     struct Rect rect;
     double dx, dy, a1 = 0, a2 = 0;
     int closed, last_point, cross;
-    int printed;
 
     RTree = RTreeNewIndex();
 
@@ -93,7 +90,6 @@
     nallpoints = 0;
     XPnts = NULL;
 
-    printed = 0;
     for (i = 1; i <= nlines; i++) {
 	G_debug(3, "i =  %d", i);
 	if (!Vect_line_alive(Map, i))
@@ -210,28 +206,11 @@
 		npoints++;
 	    }
 	}
-	if (msgout && printed > 5000) {
-	    fprintf(msgout, "\r%s %d", _("Registering points"), npoints - 1);
-	    fflush(msgout);
-	    printed = 0;
-	}
-	printed++;
     }
-    if (msgout) {
-	fprintf(msgout, "\r%s %d", _("Registering points"), npoints - 1);
-	fprintf(msgout, "\n");
-	fprintf(msgout, "%s: %5d\n", _("All points (vertices)"), nallpoints);
-	fprintf(msgout, "%s: %5d\n",
-		_("Registered points (unique coordinates)"), npoints - 1);
-	fprintf(msgout, "%s: %5d\n", _("Points marked for break"), nmarks);
-    }
 
     /* G_sleep (10); */
 
     nbreaks = 0;
-    if (msgout)
-	fprintf(msgout, "%s: %5d", _("Breaks"), nbreaks);
-    printed = 0;
 
     /* Second loop through lines (existing when loop is started, no need to process lines written again)
      * and break at points marked for break */
@@ -305,13 +284,6 @@
 		broken = 1;
 		nbreaks++;
 	    }
-
-	    if (msgout && printed > 1000) {
-		fprintf(msgout, "\r%s: %5d", _("Breaks"), nbreaks);
-		fflush(msgout);
-		printed = 0;
-	    }
-	    printed++;
 	}
 	if (!broken && n_orig_points > Points->n_points) {	/* was pruned before -> rewrite */
 	    if (Points->n_points > 1) {
@@ -329,9 +301,6 @@
 	}
     }
 
-    if (msgout)
-	fprintf(msgout, "\r%s: %5d", _("Breaks"), nbreaks);
-
     /* Write points on breaks */
     if (Err) {
 	Vect_reset_cats(Cats);
@@ -344,9 +313,6 @@
 	}
     }
 
-    if (msgout)
-	fprintf(msgout, "\n");
-
     G_free(XPnts);
     RTreeDestroyNode(RTree);
 }

Modified: grass/branches/develbranch_6/lib/vector/Vlib/bridges.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/Vlib/bridges.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/lib/vector/Vlib/bridges.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -23,8 +23,7 @@
 #include <grass/glocale.h>
 
 static void
-remove_bridges(struct Map_info *Map, int chtype, struct Map_info *Err,
-	       FILE * msgout);
+remove_bridges(struct Map_info *Map, int chtype, struct Map_info *Err);
 
 /*!
    \brief Remove bridges from vector map.
@@ -37,15 +36,14 @@
 
    \param Map input map where bridges are deleted
    \param Err vector map where deleted bridges are written or NULL
-   \param msgout file pointer where messages will be written or NULL
 
    \return
  */
 
 void
-Vect_remove_bridges(struct Map_info *Map, struct Map_info *Err, FILE * msgout)
+Vect_remove_bridges(struct Map_info *Map, struct Map_info *Err)
 {
-    remove_bridges(Map, 0, Err, msgout);
+    remove_bridges(Map, 0, Err);
 }
 
 /*!
@@ -59,15 +57,14 @@
 
    \param Map input map where bridges are changed
    \param Err vector map where changed bridges are written or NULL
-   \param msgout file pointer where messages will be written or NULL
 
    \return
  */
 
 void
-Vect_chtype_bridges(struct Map_info *Map, struct Map_info *Err, FILE * msgout)
+Vect_chtype_bridges(struct Map_info *Map, struct Map_info *Err)
 {
-    remove_bridges(Map, 1, Err, msgout);
+    remove_bridges(Map, 1, Err);
 }
 
 /* 
@@ -84,8 +81,7 @@
    List of all lines in chain is created during the cycle.
  */
 void
-remove_bridges(struct Map_info *Map, int chtype, struct Map_info *Err,
-	       FILE * msgout)
+remove_bridges(struct Map_info *Map, int chtype, struct Map_info *Err)
 {
     int i, type, nlines, line;
     int left, right, node1, node2, current_line, next_line;
@@ -116,10 +112,6 @@
 
     G_debug(1, "nlines =  %d", nlines);
 
-    if (msgout)
-	fprintf(msgout, "%s: %5d  %s: %5d",
-		_("Removed bridges"), bridges_removed, lmsg, lines_removed);
-
     for (line = 1; line <= nlines; line++) {
 	if (!Vect_line_alive(Map, line))
 	    continue;
@@ -196,17 +188,5 @@
 	    }
 	    bridges_removed++;
 	}
-
-	if (msgout) {
-	    fprintf(msgout, "\r%s: %5d  %s: %5d",
-		    _("Removed bridges"), bridges_removed, lmsg,
-		    lines_removed);
-	    fflush(msgout);
-	}
     }
-    if (msgout) {
-	fprintf(msgout, "\r%s: %5d  %s: %5d",
-		_("Removed bridges"), bridges_removed, lmsg, lines_removed);
-	fprintf(msgout, "\n");
-    }
 }

Modified: grass/branches/develbranch_6/lib/vector/Vlib/build.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/Vlib/build.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/lib/vector/Vlib/build.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -42,40 +42,17 @@
 #endif
 };
 
-FILE *Msgout = NULL;
-
-
-int prnmsg(char *msg, ...)
-{
-    char buffer[1000];
-    va_list ap;
-
-    if (G_verbose() == G_verbose_min())
-        return 1;
-    
-    if (Msgout != NULL) {
-	va_start(ap, msg);
-	vsprintf(buffer, msg, ap);
-	va_end(ap);
-	fprintf(Msgout, "%s", buffer);
-	fflush(Msgout);
-    }
-
-    return 1;
-}
-
 /*!
    \brief Build topology for vector map
 
    \param Map vector map
-   \param msgout file for message output (stdout/stderr for example) or NULL
 
    \return 1 on success
    \return 0 on error
  */
-int Vect_build(struct Map_info *Map, FILE * msgout)
+int Vect_build(struct Map_info *Map)
 {
-    return Vect_build_partial(Map, GV_BUILD_ALL, msgout);
+    return Vect_build_partial(Map, GV_BUILD_ALL);
 }
 
 
@@ -124,17 +101,15 @@
 
    \param Map vector map
    \param build highest level of build
-   \param msgout file pointer for message output (stdout/stderr for example) or NULL
 
    \return 1 on success, 0 on error
  */
-int Vect_build_partial(struct Map_info *Map, int build, FILE * msgout)
+int Vect_build_partial(struct Map_info *Map, int build)
 {
     struct Plus_head *plus;
     int ret;
 
     G_debug(3, "Vect_build(): build = %d", build);
-    Msgout = msgout;
 
     /* If topology is already build (map on level2), set level to 1 so that lines will
      *  be read by V1_read_ (all lines) */
@@ -144,8 +119,8 @@
     Map->plus.Spidx_built = 1;
 
     plus = &(Map->plus);
-    prnmsg(_("Building topology for vector map <%s>...\n"),
-	   Vect_get_name(Map));
+    G_verbose_message(_("Building topology for vector map <%s>..."),
+		      Vect_get_name(Map));
     plus->with_z = Map->head.with_z;
     plus->spidx_with_z = Map->head.with_z;
 
@@ -154,13 +129,13 @@
 	dig_cidx_init(plus);
     }
 
-    ret = ((*Build_array[Map->format]) (Map, build, msgout));
+    ret = ((*Build_array[Map->format]) (Map, build));
 
     if (ret == 0) {
 	return 0;
     }
 
-    prnmsg(_("Topology was built\n"));
+    G_verbose_message(_("Topology was built"));
 
     Map->level = LEVEL_2;
     plus->mode = GV_MODE_WRITE;
@@ -170,20 +145,18 @@
 	dig_cidx_sort(plus);
     }
 
-    /* prnmsg ("Topology was built.\n") ; */
+    G_verbose_message(_("Number of nodes: %d"), plus->n_nodes);
+    G_verbose_message(_("Number of primitives: %d"), plus->n_lines);
+    G_verbose_message(_("Number of points: %d"), plus->n_plines);
+    G_verbose_message(_("Number of lines: %d"), plus->n_llines);
+    G_verbose_message(_("Number of boundaries: %d"), plus->n_blines);
+    G_verbose_message(_("Number of centroids: %d"), plus->n_clines);
 
-    prnmsg(_("Number of nodes     :   %d\n"), plus->n_nodes);
-    prnmsg(_("Number of primitives:   %d\n"), plus->n_lines);
-    prnmsg(_("Number of points    :   %d\n"), plus->n_plines);
-    prnmsg(_("Number of lines     :   %d\n"), plus->n_llines);
-    prnmsg(_("Number of boundaries:   %d\n"), plus->n_blines);
-    prnmsg(_("Number of centroids :   %d\n"), plus->n_clines);
-
     if (plus->n_flines > 0)
-	prnmsg(_("Number of faces     :   %d\n"), plus->n_flines);
+	G_verbose_message(_("Number of faces: %d"), plus->n_flines);
 
     if (plus->n_klines > 0)
-	prnmsg(_("Number of kernels   :   %d\n"), plus->n_klines);
+	G_verbose_message(_("Number of kernels: %d"), plus->n_klines);
 
     if (plus->built >= GV_BUILD_AREAS) {
 	int line, nlines, area, nareas, err_boundaries, err_centr_out,
@@ -223,29 +196,29 @@
 		err_nocentr++;
 	}
 
-	prnmsg(_("Number of areas     :   %d\n"), plus->n_areas);
-	prnmsg(_("Number of isles     :   %d\n"), plus->n_isles);
+	G_verbose_message(_("Number of areas: %d"), plus->n_areas);
+	G_verbose_message(_("Number of isles: %d"), plus->n_isles);
 
 	if (err_boundaries)
-	    prnmsg(_("Number of incorrect boundaries   :   %d\n"),
-		   err_boundaries);
+	    G_verbose_message(_("Number of incorrect boundaries: %d"),
+			      err_boundaries);
 
 	if (err_centr_out)
-	    prnmsg(_("Number of centroids outside area :   %d\n"),
-		   err_centr_out);
+	    G_verbose_message(_("Number of centroids outside area: %d"),
+			      err_centr_out);
 
 	if (err_centr_dupl)
-	    prnmsg(_("Number of duplicate centroids    :   %d\n"),
-		   err_centr_dupl);
+	    G_verbose_message(_("Number of duplicate centroids: %d"),
+			      err_centr_dupl);
 
 	if (err_nocentr)
-	    prnmsg(_("Number of areas without centroid :   %d\n"),
-		   err_nocentr);
+	    G_verbose_message(_("Number of areas without centroid: %d"),
+			      err_nocentr);
 
     }
     else {
-	prnmsg(_("Number of areas     :   -\n"));
-	prnmsg(_("Number of isles     :   -\n"));
+	G_verbose_message(_("Number of areas: -"));
+	G_verbose_message(_("Number of isles: -"));
     }
     return 1;
 }
@@ -454,7 +427,7 @@
 int Vect_spatial_index_dump(struct Map_info *Map, FILE * out)
 {
     if (!(Map->plus.Spidx_built)) {
-	Vect_build_sidx_from_topo(Map, NULL);
+	Vect_build_sidx_from_topo(Map);
     }
 
     fprintf(out, "---------- SPATIAL INDEX DUMP ----------\n");

Modified: grass/branches/develbranch_6/lib/vector/Vlib/build_nat.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/Vlib/build_nat.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/lib/vector/Vlib/build_nat.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -23,9 +23,6 @@
 #include <grass/gis.h>
 #include <grass/Vect.h>
 
-extern FILE *Msgout;
-extern int prnmsg(char *msg, ...);
-
 /*!
    \brief Build area on given side of line (GV_LEFT or GV_RIGHT)
 
@@ -417,12 +414,11 @@
 
    \param Map_info vector map
    \param build build level
-   \param msgout message output (stdout/stderr for example) or NULL
 
    \return 1 on success
    \return 0 on error
  */
-int Vect_build_nat(struct Map_info *Map, int build, FILE * msgout)
+int Vect_build_nat(struct Map_info *Map, int build)
 {
     struct Plus_head *plus;
     int i, j, s, type, lineid;
@@ -439,7 +435,6 @@
     G_debug(3, "Vect_build_nat() build = %d", build);
 
     plus = &(Map->plus);
-    Msgout = msgout;
 
     if (build == plus->built)
 	return 1;		/* Do nothing */
@@ -507,7 +502,7 @@
 
 	/* register lines, create nodes */
 	Vect_rewind(Map);
-	prnmsg(_("Registering primitives: "));
+	G_verbose_message(_("Registering primitives:"));
 	i = 1;
 	j = 1;
 	npoints = 0;
@@ -547,18 +542,11 @@
 		if (Cats->n_cats == 0)	/* add field 0, cat 0 */
 		    dig_cidx_add_cat(plus, 0, 0, lineid, type);
 	    }
-
-	    /* print progress */
-	    if (i == 1000) {
-		prnmsg("%7d\b\b\b\b\b\b\b", j);
-		i = 0;
-	    }
 	    i++;
 	    j++;
 	}
-	prnmsg("\r%d %s            \n", plus->n_lines,
-	       _("primitives registered"));
-	prnmsg("%d %s\n", npoints, _("vertices registered"));
+	G_verbose_message(_("%d primitives registered"), plus->n_lines);
+	G_verbose_message(_("%d vertices registered"), npoints);
 
 	plus->built = GV_BUILD_BASE;
     }
@@ -569,9 +557,9 @@
     if (plus->built < GV_BUILD_AREAS) {
 	/* Build areas */
 	/* Go through all bundaries and try to build area for both sides */
-	prnmsg(_("Building areas: "));
+	G_verbose_message(_("Building areas:"));
 	for (i = 1; i <= plus->n_lines; i++) {
-	    G_percent2(i, plus->n_lines, 1, msgout);
+	    G_percent(i, plus->n_lines, 1);
 
 	    /* build */
 	    if (plus->Line[i] == NULL) {
@@ -592,8 +580,8 @@
 		Vect_build_line_area(Map, i, side);
 	    }
 	}
-	prnmsg("\r%d %s      \n%d %s\n", plus->n_areas, _("areas built"),
-	       plus->n_isles, _("isles built"));
+	G_verbose_message(_("%d areas built"), plus->n_areas);
+	G_verbose_message(_("%d isles built"), plus->n_isles);
 	plus->built = GV_BUILD_AREAS;
     }
 
@@ -602,13 +590,11 @@
 
     /* Attach isles to areas */
     if (plus->built < GV_BUILD_ATTACH_ISLES) {
-	prnmsg(_("Attaching islands: "));
+	G_verbose_message(_("Attaching islands:"));
 	for (i = 1; i <= plus->n_isles; i++) {
-	    G_percent2(i, plus->n_isles, 1, msgout);
+	    G_percent(i, plus->n_isles, 1);
 	    Vect_attach_isle(Map, i);
 	}
-	if (i == 1)
-	    prnmsg("\n");
 	plus->built = GV_BUILD_ATTACH_ISLES;
     }
 
@@ -619,11 +605,11 @@
     if (plus->built < GV_BUILD_CENTROIDS) {
 	int nlines;
 
-	prnmsg(_("Attaching centroids: "));
+	G_verbose_message(_("Attaching centroids:"));
 
 	nlines = Vect_get_num_lines(Map);
 	for (line = 1; line <= nlines; line++) {
-	    G_percent2(line, nlines, 1, msgout);
+	    G_percent(line, nlines, 1);
 
 	    Line = plus->Line[line];
 	    if (!Line)

Modified: grass/branches/develbranch_6/lib/vector/Vlib/build_ogr.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/Vlib/build_ogr.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/lib/vector/Vlib/build_ogr.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -36,9 +36,6 @@
 #ifdef HAVE_OGR
 #include <ogr_api.h>
 
-extern FILE *Msgout;
-extern int prnmsg(char *msg, ...);
-
 /* 
  *  This structure keeps info about geometry parts above current geometry, path to curent geometry in the 
  *  feature. First 'part' number however is feature Id 
@@ -321,12 +318,11 @@
 
    \param Map_info vector map
    \param build build level 
-   \param msgout message output (stdout/stderr for example) or NULL
 
    \return 1 on success
    \return 0 on error
  */
-int Vect_build_ogr(struct Map_info *Map, int build, FILE * msgout)
+int Vect_build_ogr(struct Map_info *Map, int build)
 {
     int iFeature, count, FID;
     GEOM_PARTS parts;
@@ -336,8 +332,6 @@
     if (build != GV_BUILD_ALL)
 	G_fatal_error(_("Partial build for OGR is not supported"));
 
-    Msgout = msgout;
-
     /* TODO move this init to better place (Vect_open_ ?), because in theory build may be reused on level2 */
     Map->fInfo.ogr.offset = NULL;
     Map->fInfo.ogr.offset_num = 0;
@@ -352,7 +346,7 @@
     init_parts(&parts);
 
     /* Note: Do not use OGR_L_GetFeatureCount (it may scan all features)!!! */
-    prnmsg(_("Feature: "));
+    G_verbose_message(_("Feature: "));
 
     OGR_L_ResetReading(Map->fInfo.ogr.layer);
     count = iFeature = 0;
@@ -362,12 +356,6 @@
 
 	G_debug(4, "---- Feature %d ----", iFeature);
 
-	/* print progress */
-	if (count == 1000) {
-	    prnmsg("%7d\b\b\b\b\b\b\b", iFeature);
-	    count = 0;
-	}
-
 	hGeom = OGR_F_GetGeometryRef(hFeature);
 	if (hGeom == NULL) {
 	    G_warning(_("Feature %d without geometry ignored"), iFeature);
@@ -391,8 +379,6 @@
     }				/* while */
     free_parts(&parts);
 
-    prnmsg("%4d\n", iFeature);
-
     Map->plus.built = GV_BUILD_ALL;
     return 1;
 }

Modified: grass/branches/develbranch_6/lib/vector/Vlib/clean_nodes.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/Vlib/clean_nodes.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/lib/vector/Vlib/clean_nodes.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -32,13 +32,12 @@
 
    \param Map input map
    \param Err vector map where error line segments are written
-   \param msgout file pointer where messages will be written or NULL
 
    \return number of line modifications
  */
 int
 Vect_clean_small_angles_at_nodes(struct Map_info *Map, int otype,
-				 struct Map_info *Err, FILE * msgout)
+				 struct Map_info *Err)
 {
     int node;
     int nmodif = 0;
@@ -50,9 +49,6 @@
     LCats = Vect_new_cats_struct();
     OCats = Vect_new_cats_struct();
 
-    if (msgout)
-	fprintf(msgout, "%s: %5d", _("Modifications"), nmodif);
-
     for (node = 1; node <= Vect_get_num_nodes(Map); node++) {
 	int i, nlines;
 
@@ -246,19 +242,10 @@
 		angle1 = angle2;
 	    }
 
-	    if (msgout) {
-		fprintf(msgout, "\r%s: %5d", _("Modifications"), nmodif);
-		fflush(msgout);
-	    }
-
 	    if (clean)
 		break;
-
 	}
-
     }
-    if (msgout)
-	fprintf(stderr, "\n");
 
     return (nmodif);
 }

Modified: grass/branches/develbranch_6/lib/vector/Vlib/dangles.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/Vlib/dangles.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/lib/vector/Vlib/dangles.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -27,7 +27,7 @@
 #define SELECT_DANGLE 2
 
 static void dangles(struct Map_info *, int, int, double,
-		    struct Map_info *, FILE *, struct ilist *);
+		    struct Map_info *, struct ilist *);
 
 /*!
    \brief Remove dangles from vector map.
@@ -47,15 +47,14 @@
    \param type type of dangles (GV_LINES, GV_LINE or GV_BOUNDARY)
    \param maxlength maxlength of dangles or -1 for all dangles
    \param Err vector map where deleted dangles are written or NULL
-   \param msgout file pointer where messages will be written or NULL
 
    \return
  */
 void
 Vect_remove_dangles(struct Map_info *Map, int type, double maxlength,
-		    struct Map_info *Err, FILE * msgout)
+		    struct Map_info *Err)
 {
-    dangles(Map, type, REMOVE_DANGLE, maxlength, Err, msgout, NULL);
+    dangles(Map, type, REMOVE_DANGLE, maxlength, Err, NULL);
 }
 
 /*!
@@ -74,15 +73,14 @@
    \param Map input map where have to be deleted
    \param maxlength maxlength of dangles or -1 for all dangles
    \param Err vector map where deleted dangles are written or NULL
-   \param msgout file pointer where messages will be written or NULL
 
    \return 
  */
 void
 Vect_chtype_dangles(struct Map_info *Map, double maxlength,
-		    struct Map_info *Err, FILE * msgout)
+		    struct Map_info *Err)
 {
-    dangles(Map, 0, CHTYPE_DANGLE, maxlength, Err, msgout, NULL);
+    dangles(Map, 0, CHTYPE_DANGLE, maxlength, Err, NULL);
 }
 
 /*!
@@ -99,15 +97,14 @@
    \param Map input map where have to be deleted
    \param type type of dangles (GV_LINES, GV_LINE or GV_BOUNDARY)
    \param maxlength maxlength of dangles or -1 for all dangles
-   \param msgout file pointer where messages will be written or NULL
 
    \return
  */
 void
 Vect_select_dangles(struct Map_info *Map, int type, double maxlength,
-		    FILE * msgout, struct ilist *List)
+		    struct ilist *List)
 {
-    dangles(Map, type, SELECT_DANGLE, maxlength, NULL, msgout, List);
+    dangles(Map, type, SELECT_DANGLE, maxlength, NULL, List);
 }
 
 /*
@@ -126,11 +123,10 @@
    option dangle option (REMOVE_DANGLE, CHTYPE_DANGLE, SELECT_DANGLE)
    maxlength maxlength of dangles or -1 for all dangles
    Err vector map where deleted dangles are written or NULL
-   msgout file pointer where messages will be written or NULL
    List_dangle list of feature (selected dangles) ids 
  */
 static void dangles(struct Map_info *Map, int type, int option,
-		    double maxlength, struct Map_info *Err, FILE * msgout,
+		    double maxlength, struct Map_info *Err,
 		    struct ilist *List_dangle)
 {
     struct line_pnts *Points;
@@ -168,10 +164,6 @@
     Cats = Vect_new_cats_struct();
     List = Vect_new_list();
 
-    if (msgout)
-	fprintf(msgout, "%s %5d  %s: %5d",
-		_("Removed dangles:"), dangles_removed, lmsg, lines_removed);
-
     nnodes = Vect_get_num_nodes(Map);
     G_debug(2, "nnodes =  %d", nnodes);
 
@@ -266,23 +258,7 @@
 		}
 	    }			/* delete the chain */
 
-	    if (msgout) {
-		if (msgout)
-		    fprintf(msgout, "\r%s %5d  %s: %5d",
-			    _("Removed dangles:"), dangles_removed, lmsg,
-			    lines_removed);
-		fflush(msgout);
-	    }
-
 	    dangles_removed++;
 	}			/* lcount == 1 */
     }				/* node <= nnodes */
-
-    if (msgout) {
-	if (msgout)
-	    fprintf(msgout, "\r%s %5d  %s: %5d",
-		    _("Removed dangles:"), dangles_removed, lmsg,
-		    lines_removed);
-	fprintf(msgout, "\n");
-    }
 }

Modified: grass/branches/develbranch_6/lib/vector/Vlib/map.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/Vlib/map.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/lib/vector/Vlib/map.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -148,13 +148,12 @@
    \param[in] in input vector map name
    \param[in] mapset mapset name
    \param[in] out output vector map name
-   \param[in] msgout output file for messages or NULL 
 
    \return -1 error
    \return 0 success
  */
 int
-Vect_copy(const char *in, const char *mapset, const char *out, FILE * msgout)
+Vect_copy(const char *in, const char *mapset, const char *out)
 {
     int i, n, ret, type;
     struct Map_info In, Out;
@@ -294,12 +293,11 @@
 
    \param[in] in input vector map name
    \param[in] out output vector map name
-   \param[in] msgout output file for messages or NULL 
 
    \return -1 error
    \return 0 success
  */
-int Vect_rename(const char *in, const char *out, FILE * msgout)
+int Vect_rename(const char *in, const char *out)
 {
     int i, n, ret, type;
     struct Map_info Map;

Modified: grass/branches/develbranch_6/lib/vector/Vlib/open.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/Vlib/open.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/lib/vector/Vlib/open.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -445,7 +445,7 @@
 	Map->plus.alloc_upnodes = 0;
 
 	/* Build spatial index from topo */
-	Vect_build_sidx_from_topo(Map, NULL);
+	Vect_build_sidx_from_topo(Map);
     }
 
     return ret;

Modified: grass/branches/develbranch_6/lib/vector/Vlib/remove_areas.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/Vlib/remove_areas.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/lib/vector/Vlib/remove_areas.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -31,15 +31,13 @@
    \param Map vector map
    \param thresh maximum area size for removed areas
    \param Err vector map where removed lines and centroids are written
-   \param msgout file pointer where messages will be written or NULL
    \param removed_area  pointer to where total size of removed area is stored or NULL
 
    \return number of removed areas 
  */
 int
 Vect_remove_small_areas(struct Map_info *Map, double thresh,
-			struct Map_info *Err, FILE * msgout,
-			double *removed_area)
+			struct Map_info *Err, double *removed_area)
 {
     int area;
     int nremoved = 0;
@@ -54,9 +52,6 @@
     Points = Vect_new_line_struct();
     Cats = Vect_new_cats_struct();
 
-    if (msgout)
-	fprintf(msgout, "%s: %5d", _("Removed areas"), nremoved);
-
     for (area = 1; area <= Vect_get_num_areas(Map); area++) {
 	int i, j, centroid, dissolve_neighbour;
 	double length, size;
@@ -175,13 +170,7 @@
 	}
 
 	nremoved++;
-	if (msgout) {
-	    fprintf(msgout, "\r%s: %5d", _("Removed areas"), nremoved);
-	    fflush(stderr);
-	}
     }
-    if (msgout)
-	fprintf(stderr, "\n");
 
     if (removed_area)
 	*removed_area = size_removed;

Modified: grass/branches/develbranch_6/lib/vector/Vlib/remove_duplicates.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/Vlib/remove_duplicates.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/lib/vector/Vlib/remove_duplicates.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -31,13 +31,11 @@
    \param Map vector map where duplicate lines will be deleted
    \param type type of line to be delete
    \param Err vector map where duplicate lines will be written or NULL
-   \param msgout file pointer where messages will be written or NULL
 
    \return void
  */
 void
-Vect_remove_duplicates(struct Map_info *Map, int type, struct Map_info *Err,
-		       FILE * msgout)
+Vect_remove_duplicates(struct Map_info *Map, int type, struct Map_info *Err)
 {
     struct line_pnts *APoints, *BPoints;
     struct line_cats *ACats, *BCats, *Cats;
@@ -65,9 +63,6 @@
 
     ndupl = 0;
 
-    if (msgout)
-	fprintf(msgout, "%s: %5d", _("Duplicates"), ndupl);
-
     for (i = 1; i <= nlines; i++) {
 	if (!Vect_line_alive(Map, i))
 	    continue;
@@ -113,20 +108,11 @@
 
 	    ndupl++;
 
-	    if (msgout) {
-		fprintf(msgout, "\r%s: %5d", _("Duplicates"), ndupl);
-		fflush(msgout);
-	    }
-
 	    break;		/* line was deleted -> take the next one */
 	}
 	nlines = Vect_get_num_lines(Map);	/* For future when lines with cats will be rewritten */
 	G_debug(3, "nlines =  %d\n", nlines);
     }
-    if (msgout)
-	fprintf(msgout, "\n");
-
-    return;
 }
 
 /*!

Modified: grass/branches/develbranch_6/lib/vector/Vlib/select.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/Vlib/select.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/lib/vector/Vlib/select.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -50,7 +50,7 @@
 
     if (!(plus->Spidx_built)) {
 	G_debug(3, "Building spatial index.");
-	Vect_build_sidx_from_topo(Map, NULL);
+	Vect_build_sidx_from_topo(Map);
     }
 
     list->n_values = 0;
@@ -100,7 +100,7 @@
 
     if (!(Map->plus.Spidx_built)) {
 	G_debug(3, "Building spatial index.");
-	Vect_build_sidx_from_topo(Map, NULL);
+	Vect_build_sidx_from_topo(Map);
     }
 
     dig_select_areas(&(Map->plus), Box, list);
@@ -137,7 +137,7 @@
 
     if (!(Map->plus.Spidx_built)) {
 	G_debug(3, "Building spatial index.");
-	Vect_build_sidx_from_topo(Map, NULL);
+	Vect_build_sidx_from_topo(Map);
     }
 
     dig_select_isles(&(Map->plus), Box, list);
@@ -169,7 +169,7 @@
 
     if (!(plus->Spidx_built)) {
 	G_debug(3, "Building spatial index.");
-	Vect_build_sidx_from_topo(Map, NULL);
+	Vect_build_sidx_from_topo(Map);
     }
 
     list->n_values = 0;

Modified: grass/branches/develbranch_6/lib/vector/Vlib/sindex.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/Vlib/sindex.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/lib/vector/Vlib/sindex.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -121,14 +121,14 @@
    \return 0 OK
    \return 1 error
  */
-int Vect_build_spatial_index(struct Map_info *Map, FILE * msgout)
+int Vect_build_spatial_index(struct Map_info *Map)
 {
     if (Map->level < 2) {
 	G_fatal_error(_("Unable to build spatial index from topology, "
 			"vector map is not opened at topo level 2"));
     }
     if (!(Map->plus.Spidx_built)) {
-	return (Vect_build_sidx_from_topo(Map, msgout));
+	return (Vect_build_sidx_from_topo(Map));
     }
     return 0;
 }
@@ -137,12 +137,11 @@
    \brief Create spatial index from topo if necessary
 
    \param Map pointer to vector map
-   \param msgout print progress here
 
    \return 0 OK
    \return 1 error
  */
-int Vect_build_sidx_from_topo(struct Map_info *Map, FILE * msgout)
+int Vect_build_sidx_from_topo(struct Map_info *Map)
 {
     int i, total, done;
     struct Plus_head *plus;
@@ -162,7 +161,7 @@
 
     /* Nodes */
     for (i = 1; i <= plus->n_nodes; i++) {
-	G_percent2(i, total, 1, msgout);
+	G_percent(i, total, 1);
 
 	Node = plus->Node[i];
 	if (!Node)
@@ -174,7 +173,7 @@
     /* Lines */
     done = plus->n_nodes;
     for (i = 1; i <= plus->n_lines; i++) {
-	G_percent2(done + i, total, 1, msgout);
+	G_percent(done + i, total, 1);
 
 	Line = plus->Line[i];
 	if (!Line)
@@ -193,7 +192,7 @@
     /* Areas */
     done += plus->n_lines;
     for (i = 1; i <= plus->n_areas; i++) {
-	G_percent2(done + i, total, 1, msgout);
+	G_percent(done + i, total, 1);
 
 	Area = plus->Area[i];
 	if (!Area)
@@ -212,7 +211,7 @@
     /* Isles */
     done += plus->n_areas;
     for (i = 1; i <= plus->n_isles; i++) {
-	G_percent2(done + i, total, 1, msgout);
+	G_percent(done + i, total, 1);
 
 	Isle = plus->Isle[i];
 	if (!Isle)

Modified: grass/branches/develbranch_6/lib/vector/Vlib/snap.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/Vlib/snap.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/lib/vector/Vlib/snap.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -61,7 +61,6 @@
  * \param[in] List_lines list of lines to snap
  * \param[in] thresh threshold in which snap vertices
  * \param[out] Err vector map where lines representing snap are written or NULL
- * \param[out] msgout file pointer where messages will be written or NULL
  *
  * \return void
  */
@@ -79,13 +78,12 @@
  */
 void
 Vect_snap_lines_list(struct Map_info *Map, struct ilist *List_lines,
-		     double thresh, struct Map_info *Err, FILE * msgout)
+		     double thresh, struct Map_info *Err)
 {
     struct line_pnts *Points, *NPoints;
     struct line_cats *Cats;
     int line, ltype, line_idx;
     double thresh2;
-    int printed;
 
     struct Node *RTree;
     int point;			/* index in points array */
@@ -99,7 +97,6 @@
     struct ilist *List;
     int *Index = NULL;		/* indexes of anchors for vertices */
     int aindex = 0;		/* allocated Index */
-    int width = 26;		/* fprintf width */
 
     if (List_lines->n_values < 1)
 	return;
@@ -117,11 +114,7 @@
     point = 1;			/* index starts from 1 ! */
     nvertices = 0;
     XPnts = NULL;
-    printed = 0;
 
-    if (msgout)
-	fprintf(msgout, "%s...", _("Registering points"));
-
     for (line_idx = 0; line_idx < List_lines->n_values; line_idx++) {
 	int v;
 
@@ -165,21 +158,8 @@
 		point++;
 	    }
 	}
-	if (msgout && printed > 1000) {
-	    fprintf(msgout, "\r%s... %d", _("Registering points"), point - 1);
-	    fflush(msgout);
-	    printed = 0;
-	}
-	printed++;
     }
     npoints = point - 1;
-    if (msgout) {
-	fprintf(msgout,
-		"\r                                               \r");
-	fprintf(msgout, "%-*s: %4d\n", width, _("All vertices"), nvertices);
-	fprintf(msgout, "%-*s: %4d\n", width, _("Registered points"),
-		npoints);
-    }
 
     /* Go through all registered points and if not yet marked mark it as anchor and assign this anchor
      * to all not yet marked points in threshold */
@@ -225,21 +205,12 @@
 	    }
 	}
     }
-    if (msgout) {
-	fprintf(msgout, "%-*s: %4d\n", width, _("Nodes marked as anchor"),
-		nanchors);
-	fprintf(msgout, "%-*s: %4d\n", width, _("Nodes marked to be snapped"),
-		ntosnap);
-    }
 
     /* Go through all lines and: 
      *   1) for all vertices: if not anchor snap it to its anchor
      *   2) for all segments: snap it to all anchors in threshold (except anchors of vertices of course) */
 
-    printed = 0;
     nsnapped = ncreated = 0;
-    if (msgout)
-	fprintf(msgout, "%-*s: %4d", width, _("Snaps"), nsnapped + ncreated);
 
     for (line_idx = 0; line_idx < List_lines->n_values; line_idx++) {
 	int v, spoint, anchor;
@@ -406,22 +377,8 @@
 		Vect_write_line(Err, ltype, Points, Cats);
 	    }
 	}
-
-	if (msgout && printed > 1000) {
-	    fprintf(msgout, "\r%s: %5d  (line = %d)", _("Snaps"),
-		    nsnapped + ncreated, line);
-	    fflush(msgout);
-	    printed = 0;
-	}
-	printed++;
     }				/* for each line */
 
-    if (msgout) {
-	fprintf(msgout, "\r%-*s: %4d\n", width, _("Snapped vertices"),
-		nsnapped);
-	fprintf(msgout, "%-*s: %4d\n", width, _("New vertices"), ncreated);
-    }
-
     Vect_destroy_line_struct(Points);
     Vect_destroy_line_struct(NPoints);
     Vect_destroy_cats_struct(Cats);
@@ -453,13 +410,12 @@
  * \param[in] type type of lines to snap
  * \param[in] thresh threshold in which snap vertices
  * \param[out] Err vector map where lines representing snap are written or NULL
- * \param[out] msgout file pointer where messages will be written or NULL
  *
  * \return void
  */
 void
 Vect_snap_lines(struct Map_info *Map, int type, double thresh,
-		struct Map_info *Err, FILE * msgout)
+		struct Map_info *Err)
 {
     int line, nlines, ltype;
 
@@ -483,7 +439,7 @@
 	Vect_list_append(List, line);
     }
 
-    Vect_snap_lines_list(Map, List, thresh, Err, msgout);
+    Vect_snap_lines_list(Map, List, thresh, Err);
 
     Vect_destroy_list(List);
 

Modified: grass/branches/develbranch_6/lib/vector/vedit/select.c
===================================================================
--- grass/branches/develbranch_6/lib/vector/vedit/select.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/lib/vector/vedit/select.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -90,7 +90,7 @@
 	    thresh_tmp = fabs(thresh);
 
 	    /* select dangles shorter than 'thresh_tmp' */
-	    Vect_select_dangles(Map, type, thresh_tmp, NULL, List_dangle);
+	    Vect_select_dangles(Map, type, thresh_tmp, List_dangle);
 
 	    if (thresh <= 0.0) {	/* shorter than */
 		for (i = 0; i < List_dangle->n_values; i++) {

Modified: grass/branches/develbranch_6/raster/r.carve/vect.c
===================================================================
--- grass/branches/develbranch_6/raster/r.carve/vect.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/raster/r.carve/vect.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -42,7 +42,7 @@
 int close_vect(struct Map_info *map, const int build_support)
 {
     if (build_support)
-	Vect_build(map, stderr);
+	Vect_build(map);
 
     Vect_set_release_support(map);
     Vect_close(map);

Modified: grass/branches/develbranch_6/raster/r.contour/main.c
===================================================================
--- grass/branches/develbranch_6/raster/r.contour/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/raster/r.contour/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -224,7 +224,7 @@
 
     db_close_database_shutdown_driver(Driver);
 
-    Vect_build(&Map, stderr);
+    Vect_build(&Map);
     Vect_close(&Map);
 
     G_done_msg("");

Modified: grass/branches/develbranch_6/raster/r.flow/io.c
===================================================================
--- grass/branches/develbranch_6/raster/r.flow/io.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/raster/r.flow/io.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -181,7 +181,7 @@
     /*   if (parm.lgout)
        G_close_cell(lgfd); */
     if (parm.flout) {
-	Vect_build(&fl, stderr);
+	Vect_build(&fl);
 	Vect_close(&fl);
     }
 }

Modified: grass/branches/develbranch_6/raster/r.random/random.c
===================================================================
--- grass/branches/develbranch_6/raster/r.random/random.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/raster/r.random/random.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -251,7 +251,7 @@
     if (theState->outvector) {
 	db_commit_transaction(driver);
 	db_close_database_shutdown_driver(driver);
-	Vect_build(&Out, stderr);
+	Vect_build(&Out);
 	Vect_close(&Out);
     }
     if (theState->outraster)

Modified: grass/branches/develbranch_6/raster/r.to.vect/main.c
===================================================================
--- grass/branches/develbranch_6/raster/r.to.vect/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/raster/r.to.vect/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -232,7 +232,7 @@
     G_close_cell(input_fd);
 
     if (!no_topol->answer)
-	Vect_build(&Map, stderr);
+	Vect_build(&Map);
 
 
     /* insert cats and optionally labels if raster cats were used */

Modified: grass/branches/develbranch_6/vector/lidar/v.outlier/main.c
===================================================================
--- grass/branches/develbranch_6/vector/lidar/v.outlier/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/lidar/v.outlier/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -351,7 +351,7 @@
     Vect_close(&Out);
     Vect_close(&Outlier);
     if (qgis_opt->answer) {
-	Vect_build(&Qgis, stderr);
+	Vect_build(&Qgis);
 	Vect_close(&Qgis);
     }
 

Modified: grass/branches/develbranch_6/vector/v.buffer/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.buffer/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.buffer/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -221,8 +221,8 @@
     Vect_close(In);
 
     G_message(_("Rebuilding topology..."));
-    Vect_build_partial(Out, GV_BUILD_NONE, NULL);
-    Vect_build(Out, stderr);
+    Vect_build_partial(Out, GV_BUILD_NONE);
+    Vect_build(Out);
     Vect_close(Out);
 }
 
@@ -605,7 +605,7 @@
 
     /* Break lines */
     G_message(_("Building parts of topology..."));
-    Vect_build_partial(&Out, GV_BUILD_BASE, stderr);
+    Vect_build_partial(&Out, GV_BUILD_BASE);
 
     /* Warning: snapping must be done, otherwise colinear boundaries are not broken and 
      * topology cannot be built (the same angle). But snapping distance must be very, very 
@@ -617,13 +617,13 @@
      * the same angles of lines at nodes, don't forget about LongLat data, probably
      * calculate different threshold for each map, depending on map's bounding box */
     G_message(_("Snapping boundaries..."));
-    Vect_snap_lines(&Out, GV_BOUNDARY, 1e-7, NULL, stderr);
+    Vect_snap_lines(&Out, GV_BOUNDARY, 1e-7, NULL);
 
     G_message(_("Breaking boundaries..."));
-    Vect_break_lines(&Out, GV_BOUNDARY, NULL, stderr);
+    Vect_break_lines(&Out, GV_BOUNDARY, NULL);
 
     G_message(_("Removing duplicates..."));
-    Vect_remove_duplicates(&Out, GV_BOUNDARY, NULL, stderr);
+    Vect_remove_duplicates(&Out, GV_BOUNDARY, NULL);
 
     /* Dangles and bridges don't seem to be necessary if snapping is small enough. */
     /*
@@ -635,7 +635,7 @@
      */
 
     G_message(_("Attaching islands..."));
-    Vect_build_partial(&Out, GV_BUILD_ATTACH_ISLES, stderr);
+    Vect_build_partial(&Out, GV_BUILD_ATTACH_ISLES);
 
     /* Calculate new centroids for all areas */
     nareas = Vect_get_num_areas(&Out);
@@ -749,7 +749,7 @@
     }
 
     G_message(_("Attaching centroids..."));
-    Vect_build_partial(&Out, GV_BUILD_CENTROIDS, stderr);
+    Vect_build_partial(&Out, GV_BUILD_CENTROIDS);
 
     stop(&In, &Out);
     exit(EXIT_SUCCESS);

Modified: grass/branches/develbranch_6/vector/v.build/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.build/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.build/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -87,7 +87,7 @@
 	Vect_set_open_level(1);
 	Vect_open_old(&Map, map_opt->answer, G_mapset());
 
-	Vect_build(&Map, stderr);
+	Vect_build(&Map);
     }
     /* dump topology */
     if (dump || sdump || cdump) {
@@ -155,7 +155,7 @@
 	    }
 	}
 
-	Vect_build(&Err, stderr);
+	Vect_build(&Err);
 	Vect_close(&Err);
     }
 

Modified: grass/branches/develbranch_6/vector/v.build.polylines/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.build.polylines/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.build.polylines/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -219,11 +219,7 @@
     G_free(lines_visited);
     Vect_close(&map);
 
-    if (G_verbose() > G_verbose_min())
-	Vect_build(&Out, stderr);
-    else
-	Vect_build(&Out, NULL);
-
+    Vect_build(&Out);
     Vect_close(&Out);
 
     exit(EXIT_SUCCESS);

Modified: grass/branches/develbranch_6/vector/v.category/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.category/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.category/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -487,12 +487,7 @@
     if (option == O_ADD || option == O_DEL || option == O_CHFIELD ||
 	option == O_SUM) {
 	Vect_copy_tables(&In, &Out, 0);
-	if (G_verbose() > G_verbose_min()) {
-	    Vect_build(&Out, stderr);
-	}
-	else {
-	    Vect_build(&Out, NULL);
-	}
+	Vect_build(&Out);
 	Vect_close(&Out);
     }
     Vect_close(&In);

Modified: grass/branches/develbranch_6/vector/v.clean/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.clean/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.clean/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -36,7 +36,6 @@
     int level;
     int count;
     double size;
-    FILE *output;		/* NULL | stderr */
 
     G_gisinit(argv[0]);
 
@@ -283,32 +282,27 @@
     Vect_set_release_support(&In);
     Vect_close(&In);
 
-    if (G_verbose() > G_verbose_min())
-	output = stderr;
-    else
-	output = NULL;
-
     /* Start with GV_BUILD_NONE and for each tool use unly the necessary level! */
 
     for (i = 0; i < ntools; i++) {
 	if (tools[i] == TOOL_RMDAC || tools[i] == TOOL_PRUNE ||
 	    tools[i] == TOOL_RMAREA) {
 	    if (Vect_get_built(&Out) >= GV_BUILD_CENTROIDS) {
-		Vect_build_partial(&Out, GV_BUILD_CENTROIDS, NULL);
+		Vect_build_partial(&Out, GV_BUILD_CENTROIDS);
 	    }
 	    else {
 		G_important_message(_("Rebuilding parts of topology..."));
-		Vect_build_partial(&Out, GV_BUILD_CENTROIDS, output);
+		Vect_build_partial(&Out, GV_BUILD_CENTROIDS);
 		G_message(SEP);
 	    }
 	}
 	else {
 	    if (Vect_get_built(&Out) >= GV_BUILD_BASE) {
-		Vect_build_partial(&Out, GV_BUILD_BASE, NULL);
+		Vect_build_partial(&Out, GV_BUILD_BASE);
 	    }
 	    else {
 		G_important_message(_("Rebuilding parts of topology..."));
-		Vect_build_partial(&Out, GV_BUILD_BASE, output);
+		Vect_build_partial(&Out, GV_BUILD_BASE);
 		G_message(SEP);
 	    }
 	}
@@ -316,27 +310,27 @@
 	switch (tools[i]) {
 	case TOOL_BREAK:
 	    G_message(_("Tool: Break lines at intersections"));
-	    Vect_break_lines(&Out, otype, pErr, output);
+	    Vect_break_lines(&Out, otype, pErr);
 	    break;
 	case TOOL_RMDUPL:
 	    G_message(_("Tool: Remove duplicates"));
-	    Vect_remove_duplicates(&Out, otype, pErr, output);
+	    Vect_remove_duplicates(&Out, otype, pErr);
 	    break;
 	case TOOL_RMDANGLE:
 	    G_message(_("Tool: Remove dangles"));
-	    Vect_remove_dangles(&Out, otype, threshs[i], pErr, output);
+	    Vect_remove_dangles(&Out, otype, threshs[i], pErr);
 	    break;
 	case TOOL_CHDANGLE:
 	    G_message(_("Tool: Change type of boundary dangles"));
-	    Vect_chtype_dangles(&Out, threshs[i], pErr, stderr);
+	    Vect_chtype_dangles(&Out, threshs[i], pErr);
 	    break;
 	case TOOL_RMBRIDGE:
 	    G_message(_("Tool: Remove bridges"));
-	    Vect_remove_bridges(&Out, pErr, output);
+	    Vect_remove_bridges(&Out, pErr);
 	    break;
 	case TOOL_CHBRIDGE:
 	    G_message(_("Tool: Change type of boundary bridges"));
-	    Vect_chtype_bridges(&Out, pErr, output);
+	    Vect_chtype_bridges(&Out, pErr);
 	    break;
 	case TOOL_RMDAC:
 	    G_message(_("Tool: Remove duplicate area centroids"));
@@ -344,11 +338,11 @@
 	    break;
 	case TOOL_SNAP:
 	    G_message(_("Tool: Snap line to vertex in threshold"));
-	    Vect_snap_lines(&Out, otype, threshs[i], pErr, output);
+	    Vect_snap_lines(&Out, otype, threshs[i], pErr);
 	    break;
 	case TOOL_BPOL:
 	    G_message(_("Tool: Break polygons"));
-	    Vect_break_polygons(&Out, otype, pErr, stderr);
+	    Vect_break_polygons(&Out, otype, pErr);
 	    break;
 	case TOOL_PRUNE:
 	    G_message(_("Tool: Prune lines/boundaries"));
@@ -357,14 +351,13 @@
 	case TOOL_RMAREA:
 	    G_message(_("Tool: Remove small areas"));
 	    count =
-		Vect_remove_small_areas(&Out, threshs[i], pErr, output,
-					&size);
+		Vect_remove_small_areas(&Out, threshs[i], pErr, &size);
 	    G_message(_("%d areas of total size %g removed"), count, size);
 	    break;
 	case TOOL_RMSA:
 	    G_message(_("Tool: Remove small angles at nodes"));
 	    count =
-		Vect_clean_small_angles_at_nodes(&Out, otype, pErr, output);
+		Vect_clean_small_angles_at_nodes(&Out, otype, pErr);
 	    G_message(_("%d modifications done"), count);
 	    break;
 	case TOOL_RMLINE:
@@ -379,18 +372,18 @@
 
     if (!no_build_flag->answer) {
 	G_important_message(_("Rebuilding topology for output vector map..."));
-	Vect_build_partial(&Out, GV_BUILD_NONE, NULL);
-	Vect_build(&Out, output);
+	Vect_build_partial(&Out, GV_BUILD_NONE);
+	Vect_build(&Out);
     }
     else {
-	Vect_build_partial(&Out, GV_BUILD_NONE, NULL);	/* -> topo not saved */
+	Vect_build_partial(&Out, GV_BUILD_NONE);	/* -> topo not saved */
     }
     Vect_close(&Out);
 
     if (pErr) {
 	G_message(SEP);
 	G_important_message(_("Building topology for error vector map..."));
-	Vect_build(pErr, output);
+	Vect_build(pErr);
 	Vect_close(pErr);
     }
 

Modified: grass/branches/develbranch_6/vector/v.clean/prune.c
===================================================================
--- grass/branches/develbranch_6/vector/v.clean/prune.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.clean/prune.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -56,11 +56,8 @@
     G_debug(1, "nlines =  %d", nlines);
 
     if (Err)
-	Vect_build_partial(Err, GV_BUILD_BASE, NULL);
+	Vect_build_partial(Err, GV_BUILD_BASE);
 
-    if (G_verbose() > G_verbose_min())
-	fprintf(stderr, _("Removed vertices: %5d"), nremoved);
-
     for (line = 1; line <= nlines; line++) {
 
 	if (!Vect_line_alive(Out, line))
@@ -210,11 +207,6 @@
 	    nremoved += norig - TPoints->n_points;
 	    G_debug(4, "%d vertices removed", norig - TPoints->n_points);
 	}
-
-	if (G_verbose() > G_verbose_min())
-	    fprintf(stderr, "\r%s: %5d", _("Removed vertices"), nremoved);
-
-	fflush(stderr);
     }
 
     G_important_message(_("\n%d vertices from input %d (vertices of given type) removed, i.e. %.2f %%"),

Modified: grass/branches/develbranch_6/vector/v.convert/old2new.c
===================================================================
--- grass/branches/develbranch_6/vector/v.convert/old2new.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.convert/old2new.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -141,7 +141,7 @@
     /* Convert dig_cats to table */
     attributes(in, &Mapout);
 
-    Vect_build(&Mapout, stderr);
+    Vect_build(&Mapout);
     Vect_close(&Mapout);
 
     fclose(Digin);

Modified: grass/branches/develbranch_6/vector/v.digit/centre.c
===================================================================
--- grass/branches/develbranch_6/vector/v.digit/centre.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.digit/centre.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -168,8 +168,8 @@
 void end(void)
 {
     G_debug(1, "end()");
-    Vect_build_partial(&Map, GV_BUILD_NONE, NULL);
-    Vect_build(&Map, stdout);
+    Vect_build_partial(&Map, GV_BUILD_NONE);
+    Vect_build(&Map);
     Vect_close(&Map);
 
     if (1 == G_put_window(&GRegion))

Modified: grass/branches/develbranch_6/vector/v.digit/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.digit/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.digit/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -149,7 +149,7 @@
 	if (new_f->answer) {
 	    G_message(_("New empty map created."));
 	    Vect_open_new(&Map, map_opt->answer, 0);
-	    Vect_build(&Map, NULL);
+	    Vect_build(&Map);
 	    Vect_close(&Map);
 	    Vect_open_update(&Map, map_opt->answer, G_mapset());
 	}

Modified: grass/branches/develbranch_6/vector/v.distance/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.distance/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.distance/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -1140,10 +1140,7 @@
 
     Vect_close(&From);
     if (Outp != NULL) {
-	if (G_verbose() > G_verbose_min())
-	    Vect_build(Outp, stderr);
-	else
-	    Vect_build(Outp, NULL);
+	Vect_build(Outp);
 	Vect_close(Outp);
     }
 

Modified: grass/branches/develbranch_6/vector/v.drape/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.drape/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.drape/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -398,12 +398,7 @@
     
     /* build topology for output vector */
     if (out_num > 0) {
-	if (G_verbose() > G_verbose_min()) {
-	    Vect_build(&Out, stderr);
-	}
-	else {
-	    Vect_build(&Out, NULL);
-	}
+	Vect_build(&Out);
         
         /* Now let's move attribute data from all old map layers to new map */
         for (i = 0; i < Out.plus.n_cidx; i++) {

Modified: grass/branches/develbranch_6/vector/v.edit/a2b.c
===================================================================
--- grass/branches/develbranch_6/vector/v.edit/a2b.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.edit/a2b.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -299,7 +299,7 @@
 
     nlines_modified = 0;
 
-    Vect_build_partial(Map, GV_BUILD_BASE, NULL);
+    Vect_build_partial(Map, GV_BUILD_BASE);
     nlines = Vect_get_num_lines(Map);
 
     for (line = 1; line <= nlines; line++) {

Modified: grass/branches/develbranch_6/vector/v.edit/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.edit/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.edit/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -308,8 +308,7 @@
 				    coord, thresh[THRESH_COORDS], NULL);
 	}
 	else {
-	    ret = Vect_break_lines_list(&Map, List, NULL,
-					GV_LINES, NULL, NULL);
+	    ret = Vect_break_lines_list(&Map, List, NULL, GV_LINES, NULL);
 	}
 	G_message(_("%d lines broken"), ret);
 	break;
@@ -432,11 +431,8 @@
     /* build topology only if requested or if tool!=select */
     if (!(action_mode == MODE_SELECT || params.topo->answer == 1 ||
 	 !MODE_NONE)) {
-	Vect_build_partial(&Map, GV_BUILD_NONE, NULL);
-	if (G_verbose() > G_verbose_min())
-	    Vect_build(&Map, stderr);
-	else
-	    Vect_build(&Map, NULL);
+	Vect_build_partial(&Map, GV_BUILD_NONE);
+	Vect_build(&Map);
     }
 
     if (List)

Modified: grass/branches/develbranch_6/vector/v.edit/snap.c
===================================================================
--- grass/branches/develbranch_6/vector/v.edit/snap.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.edit/snap.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -31,21 +31,13 @@
  */
 int snap_lines(struct Map_info *Map, struct ilist *List, double thresh)
 {
-
-    FILE *output;
-
-    if (G_verbose() > G_verbose_min()) {
+    if (G_verbose() > G_verbose_min())
 	G_important_message(SEP);
-	output = stderr;
-    }
-    else
-	output = NULL;
 
-    Vect_snap_lines_list(Map, List, thresh, NULL, output);
+    Vect_snap_lines_list(Map, List, thresh, NULL);
 
-    if (G_verbose() > G_verbose_min()) {
+    if (G_verbose() > G_verbose_min())
 	G_important_message(SEP);
-    }
 
     return 1;
 }

Modified: grass/branches/develbranch_6/vector/v.external/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.external/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.external/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -158,7 +158,7 @@
     fclose(fd);
 
     Vect_open_old(&Map, out_opt->answer, G_mapset());
-    Vect_build(&Map, stderr);
+    Vect_build(&Map);
     Vect_close(&Map);
 
     exit(EXIT_SUCCESS);

Modified: grass/branches/develbranch_6/vector/v.extract/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.extract/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.extract/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -374,12 +374,8 @@
     xtract_line(cat_count, cat_array, &In, &Out, new_cat, type, dissolve,
 		field, type_only, r_flag->answer ? 1 : 0);
 
-    if (G_verbose() > G_verbose_min())
-	Vect_build(&Out, stderr);
-    else
-	Vect_build(&Out, NULL);
+    Vect_build(&Out);
 
-
     /* Copy tables */
     if (!t_flag->answer) {
 	int nlines, line;
@@ -505,11 +501,8 @@
 		Vect_delete_line(&Out, line);
 	    }
 	}
-	Vect_build_partial(&Out, GV_BUILD_NONE, NULL);
-	if (G_verbose() > G_verbose_min())
-	    Vect_build(&Out, stderr);
-	else
-	    Vect_build(&Out, NULL);
+	Vect_build_partial(&Out, GV_BUILD_NONE);
+	Vect_build(&Out);
     }
 
     Vect_close(&Out);

Modified: grass/branches/develbranch_6/vector/v.extrude/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.extrude/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.extrude/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -62,6 +62,7 @@
     dbColumn *column;
     dbValue *value;
     int more;
+    char *comment;
 
     module = G_define_module();
     module->keywords = _("vector, geometry, 3D");
@@ -331,14 +332,9 @@
 	db_shutdown_driver(driver);
     }
 
-    if (G_verbose() > G_verbose_min())
-	Vect_build(&Out, stderr);
-    else
-	Vect_build(&Out, NULL);
+    Vect_build(&Out);
 
     /* header */
-    char *comment;
-
     G_asprintf(&comment, "Generated by %s from vector map <%s>",
 	       G_program_name(), G_fully_qualified_name(old->answer, mapset));
     Vect_set_comment(&Out, comment);

Modified: grass/branches/develbranch_6/vector/v.generalize/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.generalize/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.generalize/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -436,7 +436,7 @@
     /* remove incorrect boundaries
      * they may occur only if they were generalized */
     if (mask_type & GV_BOUNDARY) {
-	Vect_build_partial(&Out, GV_BUILD_ATTACH_ISLES, NULL);
+	Vect_build_partial(&Out, GV_BUILD_ATTACH_ISLES);
 	n_lines = Vect_get_num_lines(&Out);
 	for (i = 1; i <= n_lines; i++) {
 	    type = Vect_read_line(&Out, Points, Cats, i);
@@ -456,7 +456,7 @@
      * were generalized
      */
     if ((mask_type & GV_BOUNDARY) && method != DISPLACEMENT) {
-	Vect_build_partial(&Out, GV_BUILD_ATTACH_ISLES, NULL);
+	Vect_build_partial(&Out, GV_BUILD_ATTACH_ISLES);
 	n_areas = Vect_get_num_areas(&Out);
 	for (i = 1; i <= n_areas; i++) {
 	    /* skip dead area */
@@ -476,14 +476,11 @@
 
     /* remove small areas */
     if (rs_flag->answer && simplification && (mask_type & GV_AREA)) {
-	Vect_build_partial(&Out, GV_BUILD_CENTROIDS, NULL);
-	Vect_remove_small_areas(&Out, thresh, NULL, NULL, &slide);
+	Vect_build_partial(&Out, GV_BUILD_CENTROIDS);
+	Vect_remove_small_areas(&Out, thresh, NULL, &slide);
     }
 
-    if (G_verbose() > G_verbose_min())
-	Vect_build(&Out, stderr);
-    else
-	Vect_build(&Out, NULL);
+    Vect_build(&Out);
 
     /* finally copy tables */
     if (ca_flag->answer)

Modified: grass/branches/develbranch_6/vector/v.hull/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.hull/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.hull/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -373,7 +373,7 @@
 
 
     /* clean up and bye bye */
-    Vect_build(&Map, stderr);
+    Vect_build(&Map);
     Vect_close(&Map);
 
     exit(EXIT_SUCCESS);

Modified: grass/branches/develbranch_6/vector/v.in.ascii/in.c
===================================================================
--- grass/branches/develbranch_6/vector/v.in.ascii/in.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.in.ascii/in.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -221,7 +221,7 @@
     Vect_hist_command(&Map);
 
     if (e_flag->answer) {
-	Vect_build(&Map, stderr);
+	Vect_build(&Map);
 	Vect_close(&Map);
 	exit(EXIT_SUCCESS);
     }
@@ -535,7 +535,7 @@
 	Vect_close(&Map);
     }
     else {
-	Vect_build(&Map, stderr);
+	Vect_build(&Map);
 	Vect_close(&Map);
     }
 

Modified: grass/branches/develbranch_6/vector/v.in.db/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.in.db/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.in.db/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -223,11 +223,7 @@
 			    fi->database, fi->driver);
     }
 
-    if (G_verbose() > G_verbose_min())
-	Vect_build(&Map, stderr);
-    else
-	Vect_build(&Map, NULL);
-
+    Vect_build(&Map);
     Vect_close(&Map);
 
     G_done_msg(" ");

Modified: grass/branches/develbranch_6/vector/v.in.dxf/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.in.dxf/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.in.dxf/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -185,7 +185,7 @@
 	if (found_layers) {
 	    if (Vect_open_old(Map, output, G_mapset())) {
 		if (!flag_topo)
-		    if (!Vect_build(Map, stderr))
+		    if (!Vect_build(Map))
 			G_warning(_("Building topology failed"));
 		Vect_close(Map);
 	    }

Modified: grass/branches/develbranch_6/vector/v.in.ogr/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.in.ogr/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.in.ogr/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -92,7 +92,6 @@
     int navailable_layers;
     int layer_id;
     int overwrite;
-    FILE *output;
 
     G_gisinit(argv[0]);
 
@@ -245,11 +244,6 @@
 
     OGRRegisterAll();
 
-    if (G_verbose() > G_verbose_min())
-	output = stderr;
-    else
-	output = NULL;
-
     /* list supported formats */
     if (formats_flag->answer) {
 	int iDriver;
@@ -888,7 +882,7 @@
     G_message("%s", separator);
 
     /* TODO: is it necessary to build here? probably not, consumes time */
-    Vect_build(&Map, output);
+    Vect_build(&Map);
 
     if (!no_clean_flag->answer &&
 	Vect_get_num_primitives(&Map, GV_BOUNDARY) > 0) {
@@ -908,12 +902,12 @@
 	Vect_set_release_support(&Map);
 	Vect_close(&Map);
 	Vect_open_update(&Map, out_opt->answer, G_mapset());
-	Vect_build_partial(&Map, GV_BUILD_BASE, output);	/* Downgrade topo */
+	Vect_build_partial(&Map, GV_BUILD_BASE);	/* Downgrade topo */
 
 	if (snap >= 0) {
 	    G_message("%s", separator);
 	    G_message(_("Snap boundaries (threshold = %.3e):"), snap);
-	    Vect_snap_lines(&Map, GV_BOUNDARY, snap, NULL, output);
+	    Vect_snap_lines(&Map, GV_BOUNDARY, snap, NULL);
 	}
 
 	/* It is not to clean to snap centroids, but I have seen data with 2 duplicate polygons
@@ -927,12 +921,12 @@
 
 	G_message("%s", separator);
 	G_message(_("Break polygons:"));
-	Vect_break_polygons(&Map, GV_BOUNDARY, NULL, output);
+	Vect_break_polygons(&Map, GV_BOUNDARY, NULL);
 
 	/* It is important to remove also duplicate centroids in case of duplicate imput polygons */
 	G_message("%s", separator);
 	G_message(_("Remove duplicates:"));
-	Vect_remove_duplicates(&Map, GV_BOUNDARY | GV_CENTROID, NULL, output);
+	Vect_remove_duplicates(&Map, GV_BOUNDARY | GV_CENTROID, NULL);
 
 	/* Vect_clean_small_angles_at_nodes() can change the geometry so that new intersections
 	 * are created. We must call Vect_break_lines(), Vect_remove_duplicates()
@@ -940,42 +934,41 @@
 	do {
 	    G_message("%s", separator);
 	    G_message(_("Break boundaries:"));
-	    Vect_break_lines(&Map, GV_BOUNDARY, NULL, output);
+	    Vect_break_lines(&Map, GV_BOUNDARY, NULL);
 
 	    G_message("%s", separator);
 	    G_message(_("Remove duplicates:"));
-	    Vect_remove_duplicates(&Map, GV_BOUNDARY, NULL, output);
+	    Vect_remove_duplicates(&Map, GV_BOUNDARY, NULL);
 
 	    G_message("%s", separator);
 	    G_message(_("Clean boundaries at nodes:"));
 	    nmodif =
-		Vect_clean_small_angles_at_nodes(&Map, GV_BOUNDARY, NULL,
-						 output);
+		Vect_clean_small_angles_at_nodes(&Map, GV_BOUNDARY, NULL);
 	} while (nmodif > 0);
 
 	G_message("%s", separator);
 	if (type & GV_BOUNDARY) {	/* that means lines were converted boundaries */
 	    G_message(_("Change boundary dangles to lines:"));
-	    Vect_chtype_dangles(&Map, -1.0, NULL, output);
+	    Vect_chtype_dangles(&Map, -1.0, NULL);
 	}
 	else {
 	    G_message(_("Change dangles to lines:"));
-	    Vect_remove_dangles(&Map, GV_BOUNDARY, -1.0, NULL, output);
+	    Vect_remove_dangles(&Map, GV_BOUNDARY, -1.0, NULL);
 	}
 
 	G_message("%s", separator);
 	if (type & GV_BOUNDARY) {
 	    G_message(_("Change boundary bridges to lines:"));
-	    Vect_chtype_bridges(&Map, NULL, output);
+	    Vect_chtype_bridges(&Map, NULL);
 	}
 	else {
 	    G_message(_("Remove bridges:"));
-	    Vect_remove_bridges(&Map, NULL, output);
+	    Vect_remove_bridges(&Map, NULL);
 	}
 
 	/* Boundaries are hopefully clean, build areas */
 	G_message("%s", separator);
-	Vect_build_partial(&Map, GV_BUILD_ATTACH_ISLES, output);
+	Vect_build_partial(&Map, GV_BUILD_ATTACH_ISLES);
 
 	/* Calculate new centroids for all areas, centroids have the same id as area */
 	ncentr = Vect_get_num_areas(&Map);
@@ -1059,10 +1052,10 @@
 	if (Centr)
 	    G_free(Centr);
 	G_message("%s", separator);
-	Vect_build_partial(&Map, GV_BUILD_NONE, NULL);
+	Vect_build_partial(&Map, GV_BUILD_NONE);
 
 	G_message("%s", separator);
-	Vect_build(&Map, output);
+	Vect_build(&Map);
 
 	G_message("%s", separator);
 

Modified: grass/branches/develbranch_6/vector/v.in.region/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.in.region/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.in.region/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -94,7 +94,7 @@
 	Vect_write_line(&Out, GV_LINE, Points, Cats);
     }
 
-    Vect_build(&Out, stderr);
+    Vect_build(&Out);
     Vect_close(&Out);
 
     exit(EXIT_SUCCESS);

Modified: grass/branches/develbranch_6/vector/v.in.sites/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.in.sites/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.in.sites/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -247,7 +247,7 @@
     db_close_database(driver);
     db_shutdown_driver(driver);
 
-    Vect_build(&Map, stderr);
+    Vect_build(&Map);
     Vect_close(&Map);
 
     G_site_free_struct(s);

Modified: grass/branches/develbranch_6/vector/v.kcv/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.kcv/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.kcv/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -258,7 +258,7 @@
 
     db_close_database_shutdown_driver(Driver);
 
-    Vect_build(&Out, stderr);
+    Vect_build(&Out);
     Vect_close(&Out);
 
     exit(EXIT_SUCCESS);

Modified: grass/branches/develbranch_6/vector/v.kernel/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.kernel/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.kernel/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -410,7 +410,7 @@
 
 	Vect_close(&Net);
 
-	Vect_build(&Out, stderr);
+	Vect_build(&Out);
 	Vect_close(&Out);
     }
     else {

Modified: grass/branches/develbranch_6/vector/v.lrs/v.lrs.create/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.lrs/v.lrs.create/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.lrs/v.lrs.create/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -860,13 +860,13 @@
     Vect_close(&PMap);
 
     G_message(_("Building topology for output (out_lines) map..."));
-    Vect_build(&Out, stderr);
+    Vect_build(&Out);
     Vect_close(&Out);
 
     /* Write errors */
     if (err_opt->answer) {
 	G_message(_("Building topology for error (err) map..."));
-	Vect_build(&EMap, stderr);
+	Vect_build(&EMap);
 	Vect_close(&EMap);
     }
 

Modified: grass/branches/develbranch_6/vector/v.lrs/v.lrs.label/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.lrs/v.lrs.label/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.lrs/v.lrs.label/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -513,7 +513,7 @@
     }
 
     db_close_database(rsdriver);
-    Vect_build(&Out, stderr);
+    Vect_build(&Out);
 
     /* Free, close ... */
     Vect_close(&In);

Modified: grass/branches/develbranch_6/vector/v.lrs/v.lrs.segment/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.lrs/v.lrs.segment/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.lrs/v.lrs.segment/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -334,7 +334,7 @@
     }
 
     db_close_database(rsdriver);
-    Vect_build(&Out, stderr);
+    Vect_build(&Out);
 
     /* Free, close ... */
     Vect_close(&In);

Modified: grass/branches/develbranch_6/vector/v.mkgrid/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.mkgrid/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.mkgrid/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -291,10 +291,7 @@
 
     db_close_database_shutdown_driver(Driver);
 
-    if (G_verbose() > G_verbose_min())
-	Vect_build(&Map, stderr);
-    else
-	Vect_build(&Map, NULL);
+    Vect_build(&Map);
     Vect_close(&Map);
 
     exit(EXIT_SUCCESS);

Modified: grass/branches/develbranch_6/vector/v.net/connect.c
===================================================================
--- grass/branches/develbranch_6/vector/v.net/connect.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.net/connect.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -54,7 +54,7 @@
 
     /* rewrite all primitives to output file */
     Vect_copy_map_lines(In, Out);
-    Vect_build_partial(Out, GV_BUILD_BASE, NULL);
+    Vect_build_partial(Out, GV_BUILD_BASE);
 
     /* go thorough all points in point map and write a new arcs if missing */
     while ((type = Vect_read_next_line(Pnts, Points, Cats)) >= 0) {

Modified: grass/branches/develbranch_6/vector/v.net/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.net/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.net/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -194,11 +194,8 @@
 	Vect_copy_tables(&In, &Out, 0);
 
 	/* support */
-	Vect_build_partial(&Out, GV_BUILD_NONE, NULL);
-	if (G_verbose() > G_verbose_min())
-	    Vect_build(&Out, stderr);
-	else
-	    Vect_build(&Out, NULL);
+	Vect_build_partial(&Out, GV_BUILD_NONE);
+	Vect_build(&Out);
 
 	Vect_close(&In);
 	Vect_close(&Out);

Modified: grass/branches/develbranch_6/vector/v.net.alloc/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.net.alloc/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.net.alloc/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -366,7 +366,7 @@
 	}
     }
 
-    Vect_build(&Out, stderr);
+    Vect_build(&Out);
 
     /* Free, ... */
     G_free(Nodes);

Modified: grass/branches/develbranch_6/vector/v.net.iso/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.net.iso/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.net.iso/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -526,7 +526,7 @@
 	}
     }
 
-    Vect_build(&Out, stderr);
+    Vect_build(&Out);
 
     /* Free, ... */
     G_free(Nodes);

Modified: grass/branches/develbranch_6/vector/v.net.path/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.net.path/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.net.path/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -148,7 +148,7 @@
 
     Vect_close(&In);
 
-    Vect_build(&Out, stderr);
+    Vect_build(&Out);
     Vect_close(&Out);
 
     exit(EXIT_SUCCESS);

Modified: grass/branches/develbranch_6/vector/v.net.salesman/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.net.salesman/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.net.salesman/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -377,7 +377,7 @@
     }
     fprintf(stdout, "\n\n");
 
-    Vect_build(&Out, stderr);
+    Vect_build(&Out);
 
     /* Free, ... */
     Vect_destroy_list(StArcs);

Modified: grass/branches/develbranch_6/vector/v.net.steiner/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.net.steiner/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.net.steiner/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -635,7 +635,7 @@
 
     fprintf(stdout, "\n\n");
 
-    Vect_build(&Out, stderr);
+    Vect_build(&Out);
 
     /* Free, ... */
     Vect_destroy_list(StArcs);

Modified: grass/branches/develbranch_6/vector/v.net.visibility/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.net.visibility/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.net.visibility/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -129,11 +129,7 @@
     G_free(points);
     G_free(lines);
 
-    if (G_verbose() > G_verbose_min())
-	Vect_build(&out, stderr);
-    else
-	Vect_build(&out, NULL);
-
+    Vect_build(&out);
     Vect_close(&out);
     Vect_close(&in);
     exit(EXIT_SUCCESS);

Modified: grass/branches/develbranch_6/vector/v.overlay/area_area.c
===================================================================
--- grass/branches/develbranch_6/vector/v.overlay/area_area.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.overlay/area_area.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -29,13 +29,6 @@
     dbString stmt;
     int nmodif;
 
-    FILE *output;
-
-    if (G_verbose() > G_verbose_min())
-	output = stderr;
-    else
-	output = NULL;
-
     Points = Vect_new_line_struct();
     Cats = Vect_new_cats_struct();
 
@@ -44,15 +37,15 @@
      * and Vect_clean_small_angles_at_nodes() until no more small dangles are found */
     do {
 	G_message(_("Breaking lines..."));
-	Vect_break_lines(Out, GV_LINE | GV_BOUNDARY, NULL, output);
+	Vect_break_lines(Out, GV_LINE | GV_BOUNDARY, NULL);
 
 	/* Probably not necessary for LINE x AREA */
 	G_message(_("Removing duplicates..."));
-	Vect_remove_duplicates(Out, GV_BOUNDARY, NULL, output);
+	Vect_remove_duplicates(Out, GV_BOUNDARY, NULL);
 
 	G_message(_("Cleaning boundaries at nodes..."));
 	nmodif =
-	    Vect_clean_small_angles_at_nodes(Out, GV_BOUNDARY, NULL, output);
+	    Vect_clean_small_angles_at_nodes(Out, GV_BOUNDARY, NULL);
     } while (nmodif > 0);
 
     /* ?: May be result of Vect_break_lines() + Vect_remove_duplicates() any dangle or bridge?
@@ -60,7 +53,7 @@
 
     /* Attach islands */
     G_message(_("Attaching islands..."));
-    Vect_build_partial(Out, GV_BUILD_ATTACH_ISLES, output);
+    Vect_build_partial(Out, GV_BUILD_ATTACH_ISLES);
 
 
     /* Calculate new centroids for all areas */
@@ -269,7 +262,7 @@
 
     /* Build topology and remove boundaries with area without centroid on both sides */
     G_message(_("Attaching centroids..."));
-    Vect_build_partial(Out, GV_BUILD_ALL, output);
+    Vect_build_partial(Out, GV_BUILD_ALL);
 
     /* Create a list of lines to be deleted */
     nlines = Vect_get_num_lines(Out);

Modified: grass/branches/develbranch_6/vector/v.overlay/line_area.c
===================================================================
--- grass/branches/develbranch_6/vector/v.overlay/line_area.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.overlay/line_area.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -67,13 +67,10 @@
     db_init_string(&stmt);
 
     G_message(_("Breaking lines..."));
-    if (G_verbose() > G_verbose_min())
-	Vect_break_lines(Out, GV_LINE | GV_BOUNDARY, NULL, stderr);
-    else
-	Vect_break_lines(Out, GV_LINE | GV_BOUNDARY, NULL, NULL);
+    Vect_break_lines(Out, GV_LINE | GV_BOUNDARY, NULL);
 
     /* Basic topology needed only */
-    Vect_build_partial(Out, GV_BUILD_BASE, NULL);
+    Vect_build_partial(Out, GV_BUILD_BASE);
 
     nlines = Vect_get_num_lines(Out);
 

Modified: grass/branches/develbranch_6/vector/v.overlay/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.overlay/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.overlay/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -467,7 +467,7 @@
 
     G_message(_("Building partial topology..."));
     /* do not print output, because befor cleaning it is nonsense */
-    Vect_build_partial(&Out, GV_BUILD_BASE, NULL);
+    Vect_build_partial(&Out, GV_BUILD_BASE);
 
     /* AREA x AREA */
     if (type[0] == GV_AREA) {
@@ -478,11 +478,8 @@
     }
 
     G_message(_("Rebuilding topology..."));
-    Vect_build_partial(&Out, GV_BUILD_NONE, NULL);
-    if (G_verbose() > G_verbose_min())
-	Vect_build(&Out, stderr);
-    else
-	Vect_build(&Out, NULL);
+    Vect_build_partial(&Out, GV_BUILD_NONE);
+    Vect_build(&Out);
     /* Build topology to show the final result and prepare for Vect_close() */
 
     if (driver) {

Modified: grass/branches/develbranch_6/vector/v.parallel/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.parallel/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.parallel/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -89,7 +89,7 @@
     }
 
     Vect_close(&In);
-    Vect_build(&Out, stderr);
+    Vect_build(&Out);
     Vect_close(&Out);
 
     exit(EXIT_SUCCESS);

Modified: grass/branches/develbranch_6/vector/v.patch/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.patch/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.patch/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -354,11 +354,7 @@
     Vect_set_map_name(&OutMap, "Output from v.patch");
     Vect_set_person(&OutMap, G_whoami());
 
-    if (G_verbose() > G_verbose_min())
-	Vect_build(&OutMap, stderr);
-    else
-	Vect_build(&OutMap, NULL);
-
+    Vect_build(&OutMap);
     Vect_close(&OutMap);
 
     if (bbox_name) {
@@ -367,11 +363,7 @@
 	G_important_message("");
 	G_important_message(_("Building topology for vector map <%s>..."),
 			    bbox_name);
-	if (G_verbose() > G_verbose_min())
-	    Vect_build(&BBoxMap, stderr);
-	else
-	    Vect_build(&BBoxMap, NULL);
-
+	Vect_build(&BBoxMap);
 	Vect_close(&BBoxMap);
     }
 

Modified: grass/branches/develbranch_6/vector/v.perturb/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.perturb/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.perturb/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -245,7 +245,7 @@
 
     Vect_close(&In);
 
-    Vect_build(&Out, stderr);
+    Vect_build(&Out);
     Vect_close(&Out);
 
     return (EXIT_SUCCESS);

Modified: grass/branches/develbranch_6/vector/v.proj/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.proj/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.proj/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -278,11 +278,7 @@
 
     Vect_close(&Map);
 
-    if (G_verbose() > G_verbose_min())
-	Vect_build(&Out_Map, stderr);
-    else
-	Vect_build(&Out_Map, NULL);
-
+    Vect_build(&Out_Map);
     Vect_close(&Out_Map);
 
     exit(EXIT_SUCCESS);

Modified: grass/branches/develbranch_6/vector/v.qcount/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.qcount/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.qcount/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -165,7 +165,7 @@
 	    Vect_write_line(&Out, GV_POINT, Points, Cats);
 	}
 
-	Vect_build(&Out, stderr);
+	Vect_build(&Out);
 	Vect_close(&Out);
 
     }

Modified: grass/branches/develbranch_6/vector/v.random/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.random/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.random/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -296,10 +296,7 @@
     }
 
     if (!flag.notopo->answer) {
-	if (G_verbose() > G_verbose_min())
-	    Vect_build(&Out, stderr);
-	else
-	    Vect_build(&Out, NULL);
+	Vect_build(&Out);
     }
     Vect_close(&Out);
 

Modified: grass/branches/develbranch_6/vector/v.reclass/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.reclass/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.reclass/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -416,7 +416,7 @@
 
     Vect_close(&In);
 
-    Vect_build(&Out, stderr);
+    Vect_build(&Out);
     Vect_close(&Out);
 
     G_message(_("%d features reclassed"), rclelem);

Modified: grass/branches/develbranch_6/vector/v.sample/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.sample/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.sample/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -297,7 +297,7 @@
 
     Vect_close(&In);
 
-    Vect_build(&Out, stderr);
+    Vect_build(&Out);
     Vect_close(&Out);
 
     exit(EXIT_SUCCESS);

Modified: grass/branches/develbranch_6/vector/v.segment/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.segment/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.segment/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -231,13 +231,7 @@
     G_message(_("%d lines written to output map (%d lost)"),
 	      lines_written, lines_read - lines_written);
 
-    if (G_verbose() > G_verbose_min()) {
-	Vect_build(&Out, stderr);
-    }
-    else {
-	Vect_build(&Out, NULL);
-    }
-
+    Vect_build(&Out);
     /* Free, close ... */
     Vect_close(&In);
     Vect_close(&Out);

Modified: grass/branches/develbranch_6/vector/v.select/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.select/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.select/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -515,7 +515,7 @@
 
     Vect_close(&(In[0]));
 
-    Vect_build(&Out, stderr);
+    Vect_build(&Out);
     Vect_close(&Out);
 
     G_done_msg(" ");

Modified: grass/branches/develbranch_6/vector/v.split/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.split/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.split/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -183,7 +183,7 @@
     }
 
     Vect_close(&In);
-    Vect_build(&Out, stderr);
+    Vect_build(&Out);
     Vect_close(&Out);
 
     exit(0);

Modified: grass/branches/develbranch_6/vector/v.surf.rst/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.surf.rst/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.surf.rst/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -684,7 +684,7 @@
 	   TreeMap.head.plani_zone = G_zone ();
 	 */
 	print_tree(root, x_orig, y_orig, &TreeMap);
-	Vect_build(&TreeMap, NULL);
+	Vect_build(&TreeMap);
 	Vect_close(&TreeMap);
     }
 
@@ -773,7 +773,7 @@
 	   OverMap.head.plani_zone = G_zone ();
 	 */
 	print_tree(root, x_orig, y_orig, &OverMap);
-	Vect_build(&OverMap, NULL);
+	Vect_build(&OverMap);
 	Vect_close(&OverMap);
     }
 
@@ -793,7 +793,7 @@
     if (cvdev != NULL || devi != NULL) {
 	/*  db_close_database_shutdown_driver ( driver2 ); */
 	db_close_database(driver2);
-	Vect_build(&Map2, stderr);
+	Vect_build(&Map2);
 	Vect_close(&Map2);
     }
 

Modified: grass/branches/develbranch_6/vector/v.to.points/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.to.points/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.to.points/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -372,7 +372,7 @@
 	db_close_database_shutdown_driver(driver);
     }
 
-    Vect_build(&Out, stderr);
+    Vect_build(&Out);
 
     /* Free, close ... */
     Vect_close(&In);

Modified: grass/branches/develbranch_6/vector/v.transform/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.transform/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.transform/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -330,12 +330,8 @@
 
     Vect_copy_tables(&Old, &New, 0);
     Vect_close(&Old);
+    Vect_build(&New);
 
-    if (G_verbose() > G_verbose_min())
-	Vect_build(&New, stderr);
-    else
-	Vect_build(&New, NULL);
-
     if (!quiet_flag->answer) {
 	Vect_get_map_box(&New, &box);
 	G_message(_("\nNew vector map <%s> boundary coordinates:"),

Modified: grass/branches/develbranch_6/vector/v.type/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.type/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.type/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -231,7 +231,7 @@
     }
 
     Vect_copy_tables(&In, &Out, 0);
-    Vect_build(&Out, stderr);
+    Vect_build(&Out);
     Vect_close(&Out);
     Vect_close(&In);
 

Modified: grass/branches/develbranch_6/vector/v.vol.rst/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.vol.rst/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.vol.rst/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -846,7 +846,7 @@
 
 	    if (cvdev != NULL || devi != NULL) {
 		db_close_database_shutdown_driver(driver);
-		Vect_build(&Map, stderr);
+		Vect_build(&Map);
 		Vect_close(&Map);
 	    }
 

Modified: grass/branches/develbranch_6/vector/v.voronoi/dt_main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.voronoi/dt_main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.voronoi/dt_main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -104,7 +104,7 @@
     Vect_hist_copy(&In, &Out);
     Vect_hist_command(&Out);
 
-    Vect_build_partial(&Out, GV_BUILD_BASE, NULL);
+    Vect_build_partial(&Out, GV_BUILD_BASE);
 
     /* initialize working region */
     G_get_window(&Window);
@@ -125,7 +125,7 @@
 
     Vect_close(&In);
 
-    Vect_build_partial(&Out, GV_BUILD_ATTACH_ISLES, NULL);
+    Vect_build_partial(&Out, GV_BUILD_ATTACH_ISLES);
 
     nareas = Vect_get_num_areas(&Out);
     G_debug(3, "nareas = %d", nareas);
@@ -156,8 +156,8 @@
 	Vect_write_line(&Out, GV_CENTROID, Points, Cats);
     }
 
-    Vect_build_partial(&Out, GV_BUILD_NONE, NULL);
-    Vect_build(&Out, stderr);
+    Vect_build_partial(&Out, GV_BUILD_NONE);
+    Vect_build(&Out);
     Vect_close(&Out);
 
     exit(EXIT_SUCCESS);

Modified: grass/branches/develbranch_6/vector/v.voronoi/vo_main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.voronoi/vo_main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.voronoi/vo_main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -184,7 +184,7 @@
     voronoi(triangulate, nextone);
 
     /* Close free ends by cyrrent region */
-    Vect_build_partial(&Out, GV_BUILD_BASE, NULL);
+    Vect_build_partial(&Out, GV_BUILD_BASE);
 
     ncoor = 0;
     acoor = 100;
@@ -353,8 +353,8 @@
 
     Vect_close(&In);
 
-    Vect_build_partial(&Out, GV_BUILD_NONE, NULL);
-    Vect_build(&Out, stderr);
+    Vect_build_partial(&Out, GV_BUILD_NONE);
+    Vect_build(&Out);
     Vect_close(&Out);
 
     exit(EXIT_SUCCESS);

Modified: grass/branches/develbranch_6/vector/v.what/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.what/main.c	2008-11-14 15:05:44 UTC (rev 34287)
+++ grass/branches/develbranch_6/vector/v.what/main.c	2008-11-14 15:30:19 UTC (rev 34288)
@@ -156,7 +156,7 @@
 			      vect[i]);
 
 	    G_verbose_message(_("Building spatial index..."));
-	    Vect_build_spatial_index(&Map[i], NULL);
+	    Vect_build_spatial_index(&Map[i]);
 	}
     }
 



More information about the grass-commit mailing list