version 1.373, 2020/10/18 08:01:23 |
version 1.374, 2020/10/18 10:44:25 |
Line 1958 purge_cached_realpaths(void) |
|
Line 1958 purge_cached_realpaths(void) |
|
{ |
{ |
GNode *cache = get_cached_realpaths(); |
GNode *cache = get_cached_realpaths(); |
Hash_Entry *he, *nhe; |
Hash_Entry *he, *nhe; |
Hash_Search hs; |
HashIter hi; |
|
|
he = Hash_EnumFirst(&cache->context, &hs); |
HashIter_Init(&hi, &cache->context); |
while (he) { |
he = HashIter_Next(&hi); |
nhe = Hash_EnumNext(&hs); |
while (he != NULL) { |
|
nhe = HashIter_Next(&hi); |
if (he->name[0] != '/') { |
if (he->name[0] != '/') { |
if (DEBUG(DIR)) |
if (DEBUG(DIR)) |
fprintf(stderr, "cached_realpath: purging %s\n", he->name); |
fprintf(stderr, "cached_realpath: purging %s\n", he->name); |