pike.git / src / debug.c

version» Context lines:

pike.git/src/debug.c:76:    new_hashsize=REHASH_FORMULA(hashsize);    new_hash=(struct marker **)xalloc(sizeof(struct marker **)*new_hashsize);    memset((char *)new_hash,0,sizeof(struct marker **)*new_hashsize);       for(e=0;e<hashsize;e++)    {    for(m=hash[e];m;m=next)    {    next=m->next;    m->next=new_hash[((long)m->marked)%new_hashsize]; -  new_hash[((int)m->marked)%new_hashsize]=m; +  new_hash[((long)m->marked)%new_hashsize]=m;    }    }       free((char *)hash);    hash=new_hash;    hashsize=new_hashsize;    }       return m->refs;   }