[GRASS-SVN] r45702 - grass/branches/develbranch_6/vector/v.clean/test

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Mar 18 04:49:17 EDT 2011


Author: neteler
Date: 2011-03-18 01:49:17 -0700 (Fri, 18 Mar 2011)
New Revision: 45702

Modified:
   grass/branches/develbranch_6/vector/v.clean/test/topocheck.c
Log:
fix of bug #1317

Modified: grass/branches/develbranch_6/vector/v.clean/test/topocheck.c
===================================================================
--- grass/branches/develbranch_6/vector/v.clean/test/topocheck.c	2011-03-18 08:49:07 UTC (rev 45701)
+++ grass/branches/develbranch_6/vector/v.clean/test/topocheck.c	2011-03-18 08:49:17 UTC (rev 45702)
@@ -51,7 +51,7 @@
 	"Write areas and isles as closed polygons instead of topo check";
 
     if (G_parser(argc, argv))
-	exit(EXIT_FAILURE));
+	exit(EXIT_FAILURE);
 
     Points = Vect_new_line_struct();
     Cats = Vect_new_cats_struct();
@@ -79,7 +79,7 @@
 
     if (!poly_f->answer) {	/* do check */
 	Vect_copy_map_lines(&In, &Out);
-	Vect_build(&Out, NULL);
+	Vect_build(&Out);
 
 	Vect_close(&In);
 	Vect_close(&Out);
@@ -159,7 +159,7 @@
 	}
 	fprintf(stderr, "%d area polygons written.\n", n);
 
-	Vect_build(&Out, stderr);
+	Vect_build(&Out);
 	Vect_close(&Out);
     }
 



More information about the grass-commit mailing list