Branch: Tag:

2001-09-05

2001-09-05 03:56:43 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.121

5:   \*/   /**/   #include "global.h" - RCSID("$Id: mapping.c,v 1.120 2001/08/09 18:53:01 mast Exp $"); + RCSID("$Id: mapping.c,v 1.121 2001/09/05 03:56:43 hubbe Exp $");   #include "main.h"   #include "object.h"   #include "mapping.h"
445:    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))) \