[BACK]Return to hash.c CVS log [TXT][DIR] 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.

Diff for /src/usr.bin/make/hash.c between version 1.13 and 1.14

version 1.13, 2004/05/07 00:04:38 version 1.14, 2005/02/16 15:11:52
Line 287  Hash_CreateEntry(Hash_Table *t, const ch
Line 287  Hash_CreateEntry(Hash_Table *t, const ch
          */           */
         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;

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

CVSweb <webmaster@jp.NetBSD.org>