Return to hash.c CVS log | Up to [cvs.NetBSD.org] / src / usr.bin / make |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.13, 2004/05/07 00:04:38 | version 1.14, 2005/02/16 15:11:52 | ||
---|---|---|---|
|
|
||
*/ | */ | ||
if (t->numEntries >= rebuildLimit * t->size) | if (t->numEntries >= rebuildLimit * t->size) | ||
RebuildTable(t); | RebuildTable(t); | ||
e = (Hash_Entry *) emalloc(sizeof(*e) + keylen); | e = emalloc(sizeof(*e) + keylen); | ||
hp = &t->bucketPtr[h & t->mask]; | hp = &t->bucketPtr[h & t->mask]; | ||
e->next = *hp; | e->next = *hp; | ||
*hp = e; | *hp = e; |