> What is
the safe thing to do after a longjmp to a previous setjmp
> position?
On Fri, 14 Oct 2011, ben wrote:
Why the heck are you doing that?
A: Quit ... your code is toast.
It's a way to GET OUT in an unrecoverable situation, without having to
back out of all of the layers. "Go to jail. Go directly to jail. Do not
pass GO."
I read that as having two setjump calls in a program. Something like this:
setjump(&x) ...
setjump(&y) ...
error: longjump(y);
cash: longjump(x);