From b65b23cbcbada9f049f5daafc613ce06291b9eb3 Mon Sep 17 00:00:00 2001 From: Paul Driver Date: Tue, 14 Nov 2017 13:38:02 -0800 Subject: [PATCH] reset inx_w after finishing a bucket --- noun/hashtable.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/noun/hashtable.c b/noun/hashtable.c index a9bfc521c..14316b2e8 100644 --- a/noun/hashtable.c +++ b/noun/hashtable.c @@ -299,8 +299,9 @@ _ch_trim_buck(u3h_root* har_u, u3h_slot* sot_w) } } - har_u->arm_u.buc_o = c3n; har_u->arm_u.mug_w = (har_u->arm_u.mug_w + 1) & 0x7FFFFFFF; // modulo 2^31 + har_u->arm_u.inx_w = 0; + har_u->arm_u.buc_o = c3n; return c3n; }