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.73 2000/09/30 19:42:40 hubbe Exp $"); + RCSID("$Id: encode.c,v 1.74 2000/09/30 20:12:03 hubbe Exp $");      /* #define ENCODE_DEBUG */      #ifdef ENCODE_DEBUG   #define EDB(X) X   #else   #define EDB(X)   #endif      /* The sp macro conflicts with Solaris 2.5.1's <sys/conf.h>. */
pike.git/src/encode.c:1507:         /* p->inherits[0].prog=p;    p->inherits[0].parent_offset=1;   */       for(d=0;d<p->num_inherits;d++)    {    decode_number(p->inherits[d].inherit_level,data);    decode_number(p->inherits[d].identifier_level,data); -  decode_number(p->inherits[d].parent_identifier,data); +     decode_number(p->inherits[d].parent_offset,data); -  +  decode_number(p->inherits[d].parent_identifier,data);    decode_number(p->inherits[d].storage_offset,data);       decode_value2(data);    if(d==0)    {    if(Pike_sp[-1].type != T_PROGRAM ||    Pike_sp[-1].u.program != p)    error("Program decode failed!\n");    p->refs--;    }