[net.lang.c] setjmp/longmp

ddb@mrvax.DEC (DAVID DYER-BENNET MRO1-2/L14 DTN 231-4076) (11/03/84)

Saving all registers at the time of the setjmp, and restoring them at
the time of the longjmp, is not sufficient to ensure that all accessible
variables have their setjmp-time values restored after the longjmp.
Stack variables will have whatever their last set value was.  Furthermore,
since there is no way to tell which variables are living where AT THE TIME
OF THE SETJMP (or at any other time), it is thus impossible to determine
which variables have which values after a setjmp reached by a longjmp.
This behavior makes setjmp/longjmp completely useless.

			-- David Dyer-Bennet
			-- ...decwrl!dec-rhea!dec-mrvax!ddb