On Tue, Jun 27, 2006 at 03:37:29AM +0900, Takaaki Nomura wrote: >I've tested 4.6.99.2 static/loader servers on Linux and FreeBSD. >The servers didn't work. The problem didn't occur with 4.6.99.1. >I've attached the servers' logs and gdb stack trace of the static >server. I committed the following patch that fixes this. Thanks for the report. David
Index: xf86Init.c =================================================================== RCS file: /home/x-cvs/xc/programs/Xserver/hw/xfree86/common/xf86Init.c,v retrieving revision 3.242 retrieving revision 3.243 diff -u -r3.242 -r3.243 --- xf86Init.c 19 Jun 2006 13:43:26 -0000 3.242 +++ xf86Init.c 25 Jun 2006 04:12:54 -0000 3.243 @@ -211,7 +211,14 @@ #endif }; -static int numFormats = sizeof(formats) / sizeof(formats[0]); +#ifdef RENDER +#define NUMDEFFORMATS 7 +#else +#define NUMDEFFORMATS 6 +#endif + +static int numFormats = NUMDEFFORMATS; + static Bool formatsDone = FALSE; InputDriverRec xf86KEYBOARD = {