Corrections by Kevin Conder <kconder@interaccess.com>

This commit is contained in:
Jaroslav Kysela 2002-03-12 20:14:33 +00:00
parent b559c97833
commit 853304bbf4
39 changed files with 386 additions and 386 deletions

View file

@ -156,7 +156,7 @@ hsearch_r (item, action, retval, htab)
hval += item.key[count];
}
/* First hash function: simply take the modul but prevent zero. */
/* First hash function: simply take the modulo but prevent zero. */
hval %= htab->size;
if (hval == 0)
++hval;
@ -185,7 +185,7 @@ hsearch_r (item, action, retval, htab)
do
{
/* Because SIZE is prime this guarantees to step through all
available indeces. */
available indexes. */
if (idx <= hval2)
idx = htab->size + idx - hval2;
else