pike.git / src / encode.c

version» Context lines:

pike.git/src/encode.c:1383: Inside #if defined(PIKE_PORTABLE_BYTECODE) and #if 0
  #if 0    }   #endif /* 0 */    }    }   #endif /* PIKE_PORTABLE_BYTECODE */    /* Dump the identifiers in a portable manner... */    {    int inherit_num = 1;    struct svalue str_sval; -  char *id_dumped = (char *) alloca(p->num_identifiers); +  char *id_dumped = alloca(p->num_identifiers);    int d_min = 0;    MEMSET(id_dumped,0,p->num_identifiers);    SET_SVAL(str_sval, T_STRING, 0, string, NULL);       EDB(2,    fprintf(stderr, "%*sencode: encoding references\n",    data->depth, ""));      #ifdef ENCODE_DEBUG    data->depth += 2;
pike.git/src/encode.c:3720:       if(placeholder && data->pass == 1)    {    if(placeholder->storage)    {    ref_push_program (p);    decode_error(data, Pike_sp - 1,    "Placeholder already has storage!\n");    } else {    placeholder->storage=p->storage_needed ? -  (char *)xcalloc(p->storage_needed, 1) : -  (char *)NULL; +  xcalloc(p->storage_needed, 1) : +  NULL;    call_c_initializers(placeholder);    }    }      #ifdef ENCODE_DEBUG    if (!data->debug)   #endif    data->pickyness--;       if(placeholder)