aboutsummaryrefslogtreecommitdiff
path: root/nxcompshad/Input.cpp
diff options
context:
space:
mode:
authorJames Cloos <cloos@jhcloos.com>2008-10-25 09:13:08 -0400
committerUlrich Sibiller <uli42@gmx.de>2016-10-10 22:52:31 +0200
commitf573654008c47d8a9e8ea8bbb6d91edffa08ced2 (patch)
tree6353e5d79f4c6e10ce5a65fdec75b1c4642e9383 /nxcompshad/Input.cpp
parent9a3096a2a28ebd1facc3bd0f149c519c371972b7 (diff)
downloadnx-libs-f573654008c47d8a9e8ea8bbb6d91edffa08ced2.tar.gz
nx-libs-f573654008c47d8a9e8ea8bbb6d91edffa08ced2.tar.bz2
nx-libs-f573654008c47d8a9e8ea8bbb6d91edffa08ced2.zip
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.
Diffstat (limited to 'nxcompshad/Input.cpp')
0 files changed, 0 insertions, 0 deletions