Bug 7122

Summary: lib/X11/src/util/makekeys: Floating point exception due to best_z == 0
Product: xorg Reporter: vdb128 <vdb128>
Component: Build/ModularAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: high Keywords: patch
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
patch: #define KTNUM 4000 none

Description vdb128 2006-06-05 08:45:22 UTC
The file keysymdef.h has grown a bit over the last two weeks.  As a
result, the generation of ks_tables.h through makekeys now
always encounters a Floating point exception.

It turned out that MIN_REHASH is not reached for any tried modulus 
z=ksnum..KTNUM-1, such that best_z is left untouched at zero.

This patch just increases the hard coded KTNUM and adds an error message.
Comment 1 vdb128 2006-06-05 08:48:04 UTC
Created attachment 5823 [details] [review]
patch: #define KTNUM 4000
Comment 2 Daniel Stone 2006-06-05 08:58:41 UTC
the libX11 CVS archive is dead: build out of git instead

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.