|
From: Andre R. <and...@us...> - 2004-12-01 20:33:16
|
Update of /cvsroot/frontierkernel/Frontier/Common/source In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22959/Common/source Modified Files: Tag: New_Tables_Experiment-branch langhash.c Log Message: Fixed critical bug in lower-casing logic of hash function that would result in some table item names suddenly becoming sensitive to the case of the last character. Index: langhash.c =================================================================== RCS file: /cvsroot/frontierkernel/Frontier/Common/source/langhash.c,v retrieving revision 1.4.2.17 retrieving revision 1.4.2.18 diff -C2 -d -r1.4.2.17 -r1.4.2.18 *** langhash.c 24 Nov 2004 20:48:17 -0000 1.4.2.17 --- langhash.c 1 Dec 2004 20:32:47 -0000 1.4.2.18 *************** *** 1367,1371 **** break; ! case 1: hash += *pkey; hash ^= hash << 10; hash += hash >> 1; --- 1367,1371 ---- break; ! case 1: hash += getuchar (*pkey); hash ^= hash << 10; hash += hash >> 1; |