cleanup handlers and longjmp
Martin v. Loewis
martin@loewis.home.cs.tu-berlin.de
Mon Dec 11 10:11:00 GMT 2000
> What does it mean to "interact correctly" ?
Isn't that pretty clear? You want the cleanup handlers to be executed.
> IMHO, trying to run the cleanup handlers to the point, where setjmp
> has been called, contradicts to the specifications, as this (or other)
> behaviour is not left as implementation defined.
No, guaranteeing behaviour for something that is normally undefined is
an extension to the spec; it does not contradict it.
> Moreover, it doesn't seem to work, the following proggie
That looks like a bug.
Regards,
Martin
More information about the Libc-alpha
mailing list