[GRASS-SVN] r69235 - grass/branches/releasebranch_7_0/raster/r.to.vect
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Aug 23 06:00:01 PDT 2016
Author: martinl
Date: 2016-08-23 06:00:01 -0700 (Tue, 23 Aug 2016)
New Revision: 69235
Modified:
grass/branches/releasebranch_7_0/raster/r.to.vect/main.c
Log:
r.to.vect: delete output on error (see #2394) - merge r69233 from trunk
Modified: grass/branches/releasebranch_7_0/raster/r.to.vect/main.c
===================================================================
--- grass/branches/releasebranch_7_0/raster/r.to.vect/main.c 2016-08-23 12:57:51 UTC (rev 69234)
+++ grass/branches/releasebranch_7_0/raster/r.to.vect/main.c 2016-08-23 13:00:01 UTC (rev 69235)
@@ -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