Branch: Tag:

2001-09-05

2001-09-05 03:57:59 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.78

5:   \*/   /**/   #include "global.h" - RCSID("$Id: mapping.c,v 1.77 2001/08/09 18:53:00 mast Exp $"); + RCSID("$Id: mapping.c,v 1.78 2001/09/05 03:57:59 hubbe Exp $");   #include "main.h"   #include "object.h"   #include "mapping.h"
423:    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))) \