Return to dump.c CVS log | Up to [local] / src / usr.bin / make |
version 1.5, 2013/05/22 12:14:08 | version 1.6, 2014/05/18 08:08:50 | ||
---|---|---|---|
|
|
||
unsigned int i, j; | unsigned int i, j; | ||
void *e; | void *e; | ||
size_t n = ohash_entries(h); | size_t n = ohash_entries(h); | ||
void **t = emalloc(sizeof(void *) * (n+1)); | void **t = ereallocarray(NULL, n+1, sizeof(void *)); | ||
cmp_offset = h->info.key_offset; | cmp_offset = h->info.key_offset; | ||
for (i = 0, e = ohash_first(h, &j); e != NULL; e = ohash_next(h, &j)) | for (i = 0, e = ohash_first(h, &j); e != NULL; e = ohash_next(h, &j)) |