pike.git / src / encode.c

version» Context lines:

pike.git/src/encode.c:17:   #include "dynamic_buffer.h"   #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"    - RCSID("$Id: encode.c,v 1.40 1999/10/18 22:54:32 hubbe Exp $"); + RCSID("$Id: encode.c,v 1.41 1999/10/19 15:31:19 hubbe Exp $");      #ifdef _AIX   #include <net/nh.h>   #endif      #ifdef HAVE_NETINET_IN_H   #include <netinet/in.h>   #endif      #include <math.h>
pike.git/src/encode.c:1095:       p->total_size=size + sizeof(struct program);       p->flags |= PROGRAM_OPTIMIZED;       getdata2(p->program, p->num_program);    getdata2(p->linenumbers, p->num_linenumbers);      #ifdef DEBUG_MALLOC    if(p->num_linenumbers && p->linenumbers && -  EXTRACT_UCHAR(p->linenumbers)) -  debug_malloc_name(p, p->linenumbers+1, 0); +  EXTRACT_UCHAR(p->linenumbers)==127) +  { +  char *foo; +  extern int get_small_number(char **); +  foo=p->linenumbers+1; +  foo+=strlen(foo)+1; +  debug_malloc_name(p, p->linenumbers+1, +  get_small_number(&foo)); +  }   #endif          for(d=0;d<p->num_identifier_index;d++)    {    decode_number(p->identifier_index[d],data);    if(p->identifier_index[d] > p->num_identifier_references)    {    p->identifier_index[d]=0;    error("Malformed program in decode.\n");