Commit f5736540 authored by James Cloos's avatar James Cloos Committed by Ulrich Sibiller

Increase size of working arrays in the makekeys utility program.

Makekeys is used to create an optimal hash of the keysyms defined in x11proto’s keysymdef.h. The recent addition of new keysyms there has triggered a bug in makekeys where it tries to use a zero on the rhs of the % (mod) operator (resulting in a divide by zero error) whenever it fails to find a solution within its constraints. Increasing the size of the arrays allows it to find a solution for the current set of keysyms. Makekeys is only run durring the build process, so this has no impact on users of libX11, only on the amount of VM needed to build it. It still needs a more complete fix, but this allows compiles to progress until that is completed.
parent 9a3096a2
......@@ -36,7 +36,7 @@ from The Open Group.
typedef unsigned long Signature;
#define KTNUM 3000
#define KTNUM 4000
static struct info {
char *name;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment