[GRASS-SVN] r54283 - grass/trunk/vector/v.proj

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Dec 14 06:07:09 PST 2012


Author: martinl
Date: 2012-12-14 06:07:08 -0800 (Fri, 14 Dec 2012)
New Revision: 54283

Modified:
   grass/trunk/vector/v.proj/main.c
Log:
v.proj: use Vect_set_error_handler_io()


Modified: grass/trunk/vector/v.proj/main.c
===================================================================
--- grass/trunk/vector/v.proj/main.c	2012-12-14 13:35:54 UTC (rev 54282)
+++ grass/trunk/vector/v.proj/main.c	2012-12-14 14:07:08 UTC (rev 54283)
@@ -363,7 +363,8 @@
     G_debug(1, "Open new: location: %s mapset : %s", G_location_path(),
 	    G_mapset());
     Vect_open_new(&Out_Map, omap_name, Vect_is_3d(&Map));
-
+    Vect_set_error_handler_io(NULL, &Out_Map); /* register standard i/o error handler */
+    
     Vect_copy_head_data(&Map, &Out_Map);
     Vect_hist_copy(&Map, &Out_Map);
     Vect_hist_command(&Out_Map);



More information about the grass-commit mailing list