Subject: Re: include/setjmp.h including machine/setjmp_jblen.h ...
To: Wolfgang Solfrank <firstname.lastname@example.org>
From: Chris G Demetriou <Chris_G_Demetriou@LAGAVULIN.PDL.CS.CMU.EDU>
Date: 12/04/1994 19:29:36
> > also, i believe that jmp_buf (and sigjmp_buf) should be arrays of
> > 'long's rather than arrays of ints.
> This should depend on the machine. I.e., the typedef for jmp_buf should be
> completely in machine/setjmp.h, not only the length of it. This way, you
> could even have more sophisticated jmp_bufs, e.g. on machines with most
> registers 64 bits, but one or two with 32 bits, which would otherwise
> require some hackery.
umm, a couple of things about this:
(1) it makes <machine/setjmp.h> a fair bit more complicated
(because <machine/setjmp.h> then has to worry about
the #ifndef _ANSI_SOURCE stuff, etc.)
(2) i've yet to see a situation in which this is actually
given those two facts, i'm not sure why it would be worth the