|
From: Dennis L. <pla...@in...> - 2006-03-22 00:31:30
|
Am Dienstag, den 21.03.2006, 23:05 +0000 schrieb Julian Seward: > I have to ask, is it really a good idea to add this to XEmacs? > Doing so violates POSIX compliance (POSIX does not allow segfault > handlers to return, IIRC, or says that your process state > is undefined after such an event, or something bad like that.) POSIX (IEEE Std 1003.1, 2004 Edition) says, about the signal handler function: If and when the function returns, if the value of sig was SIGFPE, SIGILL, or SIGSEGV or any other implementation-defined value corresponding to a computational exception, the behavior is undefined. This is an exact copy of the text of ISO9899:1999 7.14.1.1-3 greets Dennis |