[GRASS-dev] [GRASS-SVN] r60048 - grass/trunk/vector/v.in.db

Martin Landa landa.martin at gmail.com
Fri May 2 09:59:18 PDT 2014


Hi,

2014-05-02 18:53 GMT+02:00  <svn_grass at osgeo.org>:

> -    Vect_open_new(&Map, outvect->answer, with_z);
> +    if (Vect_open_new(&Map, outvect->answer, with_z) == -1)
> +       exit(EXIT_FAILURE);
> +

please provide more info where it fails. Also note that Vect_open_new
calls G_fatal_error() so the most of modules don't check return code
of this function.

Martin

-- 
Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa


More information about the grass-dev mailing list