This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: cleanup handlers and longjmp
"Martin v. Loewis" wrote:
> [#5] A strictly conforming program shall use only those
> features of the language and library specified in this
> International Standard.2) It shall not produce output
> dependent on any unspecified, undefined, or implementation-
> defined behavior, and shall not exceed any minimum
> implementation limit.
>
> Since using cleanup handlers and setjmp together invokes undefined
> behaviour, a program doing so is not strictly conforming. Therefore,
> extensions may provide a definition for the behaviour where the
> standard does not (as is the case with every extension).
I'm convinced, thanks.
Regards,
-velco