[Qgis-developer] [GRASS-dev] GRASS & QGIS: the future

Radim Blazek radim.blazek at gmail.com
Tue May 27 12:30:36 PDT 2014


On Sat, May 17, 2014 at 7:16 PM, Glynn Clements
<glynn at gclements.plus.com> wrote:
>> > Also, currently the global error handler (G_set_error_routine) is
>> > called before the non-exclusive handlers (G_add_error_handler), so
>> > those will never be called if the global handler lonjmp()s out. The
>> > global error handler isn't limited to fatal errors, but is also used
>> > for messages and warnings.
>>
>> G_add_error_handler() is used by GRASS itself?
>
> The raster library installs a handler which calls Rast__unopen_all().
> The vector and DBMI libraries provide interfaces to it, although I
> don't know how (or if) these are used at present.

It is desired that Rast__unopen_all() is not called before longjmp(),
I think. I don't want to close all maps successfully opened before.

Radim


More information about the Qgis-developer mailing list