Skip to content

Commit 945d34d

Browse files
committed
fixup??? fscache: remember not-found directories
Made necessary by `ew/hashmap`. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 22bb334 commit 945d34d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compat/win32/fscache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ static struct fsentry *fscache_get(struct fscache *cache, struct fsentry *key)
405405
fse = fsentry_alloc(cache, key->list->list,
406406
key->list->name, key->list->len);
407407
fse->st_mode = 0;
408-
hashmap_add(&cache->map, fse);
408+
hashmap_add(&cache->map, &fse->ent);
409409
}
410410
return NULL;
411411
}

0 commit comments

Comments
 (0)