Hi, 2014-05-04 16:16 GMT+02:00 Huidae Cho <[email protected]>: > I agree that it's not fun to call fatal error whenever opening something, so > I thought about adding fatal error in Vect routines. But some modules > actually check its return value and do cleaning before exit. Another option
please note that cleaning should be implemented as error handlers [1], vector [2] and db [3] libs have defined standardized (often used) error handlers. Martin [1] http://grass.osgeo.org/programming7/gis_2handler_8c.html#aa01633c78dd9561c740e4a89e33ad80c [2] http://grass.osgeo.org/programming7/vector_2Vlib_2handler_8c.html#aa692177b1d99fdcb7c982b8a64889263 [3] http://grass.osgeo.org/programming7/db_2dbmi__client_2handler_8c.html#a67d9435f4187f1119e1a29b60efdb71b _______________________________________________ grass-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/grass-dev
