On Sat, Jan 10, 2015 at 11:50 AM, Markus Neteler <nete...@osgeo.org> wrote: > Hi devs, > > http://trac.osgeo.org/grass/wiki/Grass7Planning#Planningongoing > > ...the TODO list got much shorter! > > Relevant differences - to be clarified: [...] > * checks for Vect_open_* return value to avoid potential segmentation > fault: r60054 <<-- wasn't the idea to avoid these ugly tests in G7?
The Vect_open_* return the open level when opening existing maps, not just success or failure. Some modules, most importantly v.info, try to open a map first with topology, if that fails, without topology. Therefore it is up to the modules to decide if the return code is ok or not. Markus M _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev