On Wed, May 28, 2014 at 1:49 AM, Glynn Clements <gl...@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 _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev