Branch: Tag:

2001-02-05

2001-02-05 23:42:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Bugfix of search() for handling of objects backported from Pike 7.3.

Rev: src/array.c:1.66

23:   #include "stuff.h"   #include "bignum.h"    - RCSID("$Id: array.c,v 1.65 2000/04/22 18:48:57 mast Exp $"); + RCSID("$Id: array.c,v 1.66 2001/02/05 23:42:38 grubba Exp $");      struct array empty_array=   {
463:    * for destructed objects/functions    */    if((v->type_field & (1 << s->type)) || -  (IS_ZERO(s) && (v->type_field & (BIT_FUNCTION|BIT_OBJECT)))) +  (IS_ZERO(s) && (v->type_field & (BIT_FUNCTION|BIT_OBJECT))) || +  ( (v->type_field | (1<<s->type)) & BIT_OBJECT )) /* for overloading */    {    if(start)    {