From d864d3cdcccd4e712fad5fdc1a33209b15fa0aab Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Mon, 28 Jan 2019 06:17:35 -0800 Subject: copy-hash: showstopper: seed must be copied. * hash.c (copy_hash): Fix failure to initialize seed member in the duplicated hash structure. This regression was introduced along with seeded hashing. --- hash.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hash.c b/hash.c index 5ff3a5a4..0b1f05a3 100644 --- a/hash.c +++ b/hash.c @@ -765,6 +765,7 @@ val copy_hash(val existing) h->table = table; h->userdata = ex->userdata; + h->seed = ex->seed; h->flags = ex->flags; h->usecount = 0; h->hops = ex->hops; -- cgit v1.2.3