On Thu, 20 Feb 2003, Egbert Eich wrote: > 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.
I may not know what I'm talking about. I thought that the problem was that modules are supposed to work across operating system and compiler, so the compile-time size might not be big enough when the module is run on a different system. -- Dr. Andrew C. Aitchison Computer Officer, DPMMS, Cambridge [EMAIL PROTECTED] http://www.dpmms.cam.ac.uk/~werdna _______________________________________________ Devel mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/devel
