From: Daniel Colascione Date: Sun, 25 Feb 2018 21:46:44 +0000 (-0800) Subject: Fix redumping with --enable-checking X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d5ddee5b00317ffba85dc5138c65003d20523a72;p=emacs.git Fix redumping with --enable-checking --- diff --git a/src/pdumper.c b/src/pdumper.c index 79946cc66f0..a9efaf3b6d5 100644 --- a/src/pdumper.c +++ b/src/pdumper.c @@ -2600,6 +2600,7 @@ hash_table_contents (Lisp_Object table) static void check_hash_table_rehash (Lisp_Object table_orig) { + hash_rehash_if_needed (XHASH_TABLE (table_orig)); Lisp_Object table_rehashed = Fcopy_hash_table (table_orig); eassert (XHASH_TABLE (table_rehashed)->count >= 0); XHASH_TABLE (table_rehashed)->count *= -1;