pike.git / src / array.c

version» Context lines:

pike.git/src/array.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: array.c,v 1.224 2009/11/28 13:13:30 mast Exp $ + || $Id: array.c,v 1.225 2009/11/28 13:14:00 mast Exp $   */      #include "global.h"   #include "svalue.h"   #include "array.h"   #include "object.h"   #include "las.h"   #include "stralloc.h"   #include "interpret.h"   #include "opcodes.h"
pike.git/src/array.c:2384:    len+=ae->u.string->len + del->len;    if(ae->u.string->size_shift > max_shift)    max_shift=ae->u.string->size_shift;    break;    }    if(len) len-=del->len;       ret=begin_wide_shared_string(len,max_shift);    r=MKPCHARP_STR(ret);    len = del->len; -  if(e = a->size) +  if((e = a->size))    for(ae=a->item;;ae++)    {    switch(ae->type)    {    case T_STRING:    {    struct pike_string *tmp = ae->u.string;    pike_string_cpy(r,tmp);    INC_PCHARP(r,tmp->len);    break;