From dada2e08e10f485472417e40531bfd2ca581b17e Mon Sep 17 00:00:00 2001 From: rtoy <rtoy> Date: Fri, 27 Oct 2006 15:13:25 +0000 Subject: [PATCH] Oops. Change = to ==. Without this, hash tables were majorly broken because the hash vector was getting set to EQ_BASED_HASH_VALUE. --- lisp/gencgc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/gencgc.c b/lisp/gencgc.c index 144452d2d..1f11867ce 100644 --- a/lisp/gencgc.c +++ b/lisp/gencgc.c @@ -7,7 +7,7 @@ * * Douglas Crosher, 1996, 1997, 1998, 1999. * - * $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/gencgc.c,v 1.83 2006/08/18 16:58:53 rtoy Exp $ + * $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/lisp/gencgc.c,v 1.84 2006/10/27 15:13:25 rtoy Exp $ * */ @@ -3753,7 +3753,7 @@ record_for_rehashing(struct hash_table *hash_table, int hash_index, static inline boolean eq_based_hash_vector(unsigned int* hash_vector, unsigned int index) { - return (hash_vector == 0) || (hash_vector[index] = EQ_BASED_HASH_VALUE); + return (hash_vector == 0) || (hash_vector[index] == EQ_BASED_HASH_VALUE); } static inline boolean -- GitLab