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

Radim Blazek radim.blazek at gmail.com
Wed May 28 04:57:36 PDT 2014


On Wed, May 28, 2014 at 1:49 AM, Glynn Clements
<glynn at gclements.plus.com> wrote:

> But I still think that the global error handler is the wrong place for
> a longjmp(). Its original purpose was to allow the standard
> notification mechanism (stderr, log file, and/or email) to be replaced
> with a custom mechanism.
>
> Can you try the attached patch? The new function should be used like:
>
>         if (setjmp(*G_fatal_longjmp(1))) {
>             // this will be executed on fatal errors
>         }

Works. Can I hope the patch will find a way to 7.0.0?

Thanks
Radim


More information about the Qgis-developer mailing list