pike.git / src / interpret_functions.h

version» Context lines:

pike.git/src/interpret_functions.h:3162:    push_undefined();    }    len++;       if ((TYPEOF(Pike_fp->locals[arg1]) == PIKE_T_ARRAY) &&    !(a = Pike_fp->locals[arg1].u.array)->size &&    (a->malloced_size >= len)) {    /* Reuse the already allocated (and emptied) array. */    a->size = len;    a->type_field = BIT_MIXED | BIT_UNFINISHED; -  a->item = a->real_item; +  a->item = a->u.real_item;    } else {    /* Allocate a new array. */    a = allocate_array(len);    free_svalue(Pike_fp->locals + arg1);    SET_SVAL(Pike_fp->locals[arg1], PIKE_T_ARRAY, 0, array, a);    }       s = ITEM(a);    for(i = 0; i < len-1; i++) {    assign_svalue_no_free(s + i, save_sp + i);