[GRASS-SVN] r31927 - in grass/trunk/vector: v.build v.build.polylines v.clean/test v.extract v.generalize v.in.ascii v.in.db v.in.dwg v.in.sites v.net.visibility

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jul 1 10:14:15 EDT 2008


Author: martinl
Date: 2008-07-01 10:14:15 -0400 (Tue, 01 Jul 2008)
New Revision: 31927

Modified:
   grass/trunk/vector/v.build.polylines/main.c
   grass/trunk/vector/v.build/main.c
   grass/trunk/vector/v.clean/test/topocheck.c
   grass/trunk/vector/v.extract/main.c
   grass/trunk/vector/v.generalize/main.c
   grass/trunk/vector/v.in.ascii/in.c
   grass/trunk/vector/v.in.db/main.c
   grass/trunk/vector/v.in.dwg/main.c
   grass/trunk/vector/v.in.sites/main.c
   grass/trunk/vector/v.net.visibility/main.c
Log:
Vect_build() to stderr by default (merge from devbr6, r31926)


Modified: grass/trunk/vector/v.build/main.c
===================================================================
--- grass/trunk/vector/v.build/main.c	2008-07-01 14:09:12 UTC (rev 31926)
+++ grass/trunk/vector/v.build/main.c	2008-07-01 14:14:15 UTC (rev 31927)
@@ -146,7 +146,7 @@
 	    }
 	}
 
-	Vect_build ( &Err, stdout );
+	Vect_build ( &Err, stderr );
         Vect_close ( &Err );
     }
 

Modified: grass/trunk/vector/v.build.polylines/main.c
===================================================================
--- grass/trunk/vector/v.build.polylines/main.c	2008-07-01 14:09:12 UTC (rev 31926)
+++ grass/trunk/vector/v.build.polylines/main.c	2008-07-01 14:14:15 UTC (rev 31927)
@@ -218,7 +218,7 @@
   Vect_close (&map);
 
   if (G_verbose() > G_verbose_min())
-      Vect_build (&Out, stdout); 
+      Vect_build (&Out, stderr); 
   else
       Vect_build (&Out, NULL); 
 

Modified: grass/trunk/vector/v.clean/test/topocheck.c
===================================================================
--- grass/trunk/vector/v.clean/test/topocheck.c	2008-07-01 14:09:12 UTC (rev 31926)
+++ grass/trunk/vector/v.clean/test/topocheck.c	2008-07-01 14:14:15 UTC (rev 31927)
@@ -152,7 +152,7 @@
 	    }
 	    fprintf ( stderr, "%d area polygons written.\n", n );
 	    
-	    Vect_build ( &Out, stdout ); 
+	    Vect_build ( &Out, stderr ); 
 	    Vect_close (&Out);
 	}
 

Modified: grass/trunk/vector/v.extract/main.c
===================================================================
--- grass/trunk/vector/v.extract/main.c	2008-07-01 14:09:12 UTC (rev 31926)
+++ grass/trunk/vector/v.extract/main.c	2008-07-01 14:14:15 UTC (rev 31927)
@@ -246,7 +246,7 @@
     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, stdout);
+	Vect_build (&Out, stderr);
     else
 	Vect_build (&Out, NULL);
     

Modified: grass/trunk/vector/v.generalize/main.c
===================================================================
--- grass/trunk/vector/v.generalize/main.c	2008-07-01 14:09:12 UTC (rev 31926)
+++ grass/trunk/vector/v.generalize/main.c	2008-07-01 14:14:15 UTC (rev 31927)
@@ -486,7 +486,7 @@
     }
 
     if (G_verbose() > G_verbose_min())
-	Vect_build(&Out, stdout);
+	Vect_build(&Out, stderr);
     else
 	Vect_build(&Out, NULL);
 

Modified: grass/trunk/vector/v.in.ascii/in.c
===================================================================
--- grass/trunk/vector/v.in.ascii/in.c	2008-07-01 14:09:12 UTC (rev 31926)
+++ grass/trunk/vector/v.in.ascii/in.c	2008-07-01 14:14:15 UTC (rev 31927)
@@ -222,7 +222,7 @@
     Vect_hist_command(&Map);
 
     if (e_flag->answer) {
-	Vect_build(&Map, stdout);
+	Vect_build(&Map, stderr);
 	Vect_close(&Map);
 	exit(EXIT_SUCCESS);
     }
@@ -535,7 +535,7 @@
 	Vect_close(&Map);
     }
     else {
-	Vect_build(&Map, stdout);
+	Vect_build(&Map, stderr);
 	Vect_close(&Map);
     }
 

Modified: grass/trunk/vector/v.in.db/main.c
===================================================================
--- grass/trunk/vector/v.in.db/main.c	2008-07-01 14:09:12 UTC (rev 31926)
+++ grass/trunk/vector/v.in.db/main.c	2008-07-01 14:14:15 UTC (rev 31927)
@@ -211,7 +211,7 @@
     }
 
     if (G_verbose() > G_verbose_min())
-	Vect_build (&Map, stdout);
+	Vect_build (&Map, stderr);
     else
 	Vect_build (&Map, NULL);
 

Modified: grass/trunk/vector/v.in.dwg/main.c
===================================================================
--- grass/trunk/vector/v.in.dwg/main.c	2008-07-01 14:09:12 UTC (rev 31926)
+++ grass/trunk/vector/v.in.dwg/main.c	2008-07-01 14:14:15 UTC (rev 31927)
@@ -237,7 +237,7 @@
     adCloseFile(dwghandle); 
     adCloseAd2();
     
-    Vect_build ( &Map, stdout );
+    Vect_build ( &Map, stderr );
     Vect_close ( &Map );
 
     exit(EXIT_SUCCESS);

Modified: grass/trunk/vector/v.in.sites/main.c
===================================================================
--- grass/trunk/vector/v.in.sites/main.c	2008-07-01 14:09:12 UTC (rev 31926)
+++ grass/trunk/vector/v.in.sites/main.c	2008-07-01 14:14:15 UTC (rev 31927)
@@ -228,7 +228,7 @@
     fclose(site);
     db_close_database(driver);
     db_shutdown_driver(driver);
-    Vect_build (&Map, stdout);
+    Vect_build (&Map, stderr);
     Vect_close (&Map);
     G_site_free_struct(s);
 

Modified: grass/trunk/vector/v.net.visibility/main.c
===================================================================
--- grass/trunk/vector/v.net.visibility/main.c	2008-07-01 14:09:12 UTC (rev 31926)
+++ grass/trunk/vector/v.net.visibility/main.c	2008-07-01 14:14:15 UTC (rev 31927)
@@ -130,7 +130,7 @@
     G_free(lines);
 
     if (G_verbose() > G_verbose_min())
-	Vect_build(&out, stdout);
+	Vect_build(&out, stderr);
     else
 	Vect_build(&out, NULL);
 



More information about the grass-commit mailing list