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.30 1999/03/07 20:19:43 grubba Exp $"); + RCSID("$Id: encode.c,v 1.31 1999/04/12 02:24:14 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:879:    apply(data->codec,"functionof", 1);    }else{    ref_push_mapping(get_builtin_constants());    stack_swap();    f_index(2);    }    break;       case 1:    decode_value2(data); +  if(sp[-2].type==T_INT) +  { +  pop_stack(); +  }else{    f_arrow(2); -  +  }    break;       default:    error("Function coding not compatible.\n");    break;    }    if(data->pickyness && sp[-1].type != T_FUNCTION)    error("Failed to decode function.\n");    break;