Branch: Tag:

2001-09-05

2001-09-05 03:54:00 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

bugfix for an obscure mapping bug (thanks to Mast for pointing this out)

Rev: src/mapping.c:1.135
Rev: src/testsuite.in:1.450

5:   \*/   /**/   #include "global.h" - RCSID("$Id: mapping.c,v 1.134 2001/09/05 01:40:45 hubbe Exp $"); + RCSID("$Id: mapping.c,v 1.135 2001/09/05 03:54:00 hubbe Exp $");   #include "main.h"   #include "object.h"   #include "mapping.h"
494:    DO_IF_DEBUG( if(d_flag > 1) check_mapping_type_fields(m); ) \    if(md->ind_types & (1 << key->type)) \    { \ -  k2=omd->hash[h2 % md->hashsize]; \ +  k2=omd->hash[h2 % omd->hashsize]; \    prev= md->hash + h; \    for(;(k=*prev) && k2;(prev=&k->next),(k2=k2->next)) \    if(!(h2 == k->hval && is_identical(&k2->ind, &k->ind))) \