This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cleanup handlers and longjmp


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]