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.55 2000/03/26 01:55:11 mast Exp $"); + RCSID("$Id: encode.c,v 1.56 2000/03/26 20:55:32 hubbe Exp $");      /* #define ENCODE_DEBUG */      #ifdef ENCODE_DEBUG   #define EDB(X) X   #else   #define EDB(X)   #endif      #ifdef _AIX
pike.git/src/encode.c:1324:    p->refs--;       decode_value2(data);    f_version(0);    if(!is_eq(sp-1,sp-2))    error("Cannot decode programs encoded with other driver version.\n");    pop_n_elems(2);       decode_number(p->flags,data);    p->flags &= ~(PROGRAM_FINISHED | PROGRAM_OPTIMIZED); +  p->flags |= PROGRAM_AVOID_CHECK;    decode_number(p->storage_needed,data);    decode_number(p->alignment_needed,data);    decode_number(p->timestamp.tv_sec,data);    decode_number(p->timestamp.tv_usec,data);      #define FOO(X,Y,Z) \    decode_number( p->num_##Z, data);   #include "program_areas.h"      #define FOO(NUMTYPE,TYPE,NAME) \
pike.git/src/encode.c:1507:    debug_malloc_touch(dat);       {    struct program *new_program_save=new_program;    new_program=p;    fsort((void *)p->identifier_index,    p->num_identifier_index,    sizeof(unsigned short),(fsortfun)program_function_index_compare);    new_program=new_program_save;    } +  p->flags &=~ PROGRAM_AVOID_CHECK;    p->flags |= PROGRAM_FINISHED;    ref_push_program(p);      #ifdef PIKE_DEBUG    check_program(p);   #endif /* PIKE_DEBUG */      #ifdef _REENTRANT    UNSET_ONERROR(err);    exit_threads_disable(NULL);