[GRASS-SVN] r69233 - grass/trunk/raster/r.to.vect

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Aug 23 05:56:54 PDT 2016


Author: martinl
Date: 2016-08-23 05:56:54 -0700 (Tue, 23 Aug 2016)
New Revision: 69233

Modified:
   grass/trunk/raster/r.to.vect/main.c
Log:
r.to.vect: delete output on error

Modified: grass/trunk/raster/r.to.vect/main.c
===================================================================
--- grass/trunk/raster/r.to.vect/main.c	2016-08-23 12:48:11 UTC (rev 69232)
+++ grass/trunk/raster/r.to.vect/main.c	2016-08-23 12:56:54 UTC (rev 69233)
@@ -153,7 +153,8 @@
 
     if (Vect_open_new(&Map, out_opt->answer, z_flg->answer) < 0)
 	G_fatal_error(_("Unable to create vector map <%s>"), out_opt->answer);
-
+    Vect_set_error_handler_io(NULL, &Map);
+                              
     Vect_hist_command(&Map);
 
     Cats = Vect_new_cats_struct();



More information about the grass-commit mailing list