pike.git / src / encode.c

version» Context lines:

pike.git/src/encode.c:18:   #include "error.h"   #include "operators.h"   #include "builtin_functions.h"   #include "module_support.h"   #include "fsort.h"   #include "threads.h"   #include "stuff.h"   #include "version.h"   #include "bignum.h"    - RCSID("$Id: encode.c,v 1.53 2000/02/09 16:21:46 grubba Exp $"); + RCSID("$Id: encode.c,v 1.54 2000/02/16 03:58:16 per Exp $");      /* #define ENCODE_DEBUG */      #ifdef ENCODE_DEBUG   #define EDB(X) X   #else   #define EDB(X)   #endif      #ifdef _AIX
pike.git/src/encode.c:1138: Inside #if defined(AUTO_BIGNUM)
   break;    }      #endif       default:    error("Object coding not compatible.\n");    break;    }    if(data->pickyness && sp[-1].type != T_OBJECT) -  error("Failed to decode.\n"); +  error("Failed to decode (got type %d; expected object).\n", +  sp[-1].type);    break;       case TAG_FUNCTION:    tmp=data->counter;    data->counter.u.integer++;    decode_value2(data);       switch(num)    {    case 0:
pike.git/src/encode.c:1630:       if(!my_decode(s, codec))    {    char *v=s->str;    INT32 l=s->len;    rec_restore_value(&v, &l);    }    assign_svalue(sp-args-1, sp-1);    pop_n_elems(args);   } -  -  +