[GRASS-SVN] r45703 - grass/trunk/vector/v.clean/test

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


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

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

Modified: grass/trunk/vector/v.clean/test/topocheck.c
===================================================================
--- grass/trunk/vector/v.clean/test/topocheck.c	2011-03-18 08:49:17 UTC (rev 45702)
+++ grass/trunk/vector/v.clean/test/topocheck.c	2011-03-18 08:49:24 UTC (rev 45703)
@@ -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