Keith Packard writes: > Around 15 o'clock on Feb 19, "Kurt J. Lidl" wrote: > > > You ought to make the xf86jmp_buf larger than 200 bytes. > > I have access to a machine where the jmp_buf storage takes 232 > > bytes already! > > I made it 400 bytes -- Linux x86 uses 156 bytes, and 256 seemed likely to > be problematic on some machines. It's only a matter of stack space in > some very limited situations, so making it way too big won't have > significant consequences. > > The main thing is to make sure it's big enough by checking xf86jmp_buf > against jmp_buf when building the base server.
Guys, please bear with me: why do we need this typedef for xf86jmp_buf at all? This buffer is normally allocated with something like: buf = malloc(sizeof(jmp_buf)); When setjmp.h is included this size is known at compile time. We'd just have to get rid of the defines for xf86jmp_buf in xf86_libc.h (as well as the defines for xf86set/longjmp) and everything should be OK. The the alias isn't needed either. Egbert. _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
