[GRASS-SVN] r54457 - grass/trunk/vector/v.in.ascii

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Dec 29 05:42:42 PST 2012


Author: martinl
Date: 2012-12-29 05:42:41 -0800 (Sat, 29 Dec 2012)
New Revision: 54457

Modified:
   grass/trunk/vector/v.in.ascii/main.c
Log:
v.in.ascii: define error handler to delete output map


Modified: grass/trunk/vector/v.in.ascii/main.c
===================================================================
--- grass/trunk/vector/v.in.ascii/main.c	2012-12-29 11:34:37 UTC (rev 54456)
+++ grass/trunk/vector/v.in.ascii/main.c	2012-12-29 13:42:41 UTC (rev 54457)
@@ -227,6 +227,7 @@
     }
 
     Vect_open_new(&Map, new->answer, zcoor);
+    Vect_set_error_handler_io(NULL, &Map);
     Vect_hist_command(&Map);
 
     if (e_flag->answer) {



More information about the grass-commit mailing list