pike.git / src / opcodes.c

version» Context lines:

pike.git/src/opcodes.c:1:   /*   || This file is part of Pike. For copyright information see COPYRIGHT.   || Pike is distributed under GPL, LGPL and MPL. See the file COPYING   || for more information. - || $Id: opcodes.c,v 1.128 2002/12/07 16:27:00 grubba Exp $ + || $Id: opcodes.c,v 1.129 2003/01/05 00:58:37 nilsson Exp $   */      #include "global.h"   #include <errno.h>   #include <math.h>   #include <ctype.h>   #include "interpret.h"   #include "svalue.h"   #include "array.h"   #include "stralloc.h"
pike.git/src/opcodes.c:23:   #include "fd_control.h"   #include "cyclic.h"   #include "builtin_functions.h"   #include "module_support.h"   #include "security.h"   #include "bignum.h"   #include "operators.h"      #define sp Pike_sp    - RCSID("$Id: opcodes.c,v 1.128 2002/12/07 16:27:00 grubba Exp $"); + RCSID("$Id: opcodes.c,v 1.129 2003/01/05 00:58:37 nilsson Exp $");      void index_no_free(struct svalue *to,struct svalue *what,struct svalue *ind)   {    INT32 i;      #ifdef PIKE_SECURITY    if(what->type <= MAX_COMPLEX)    if(!CHECK_DATA_SECURITY(what->u.array, SECURITY_BIT_INDEX))    Pike_error("Index permission denied.\n");   #endif
pike.git/src/opcodes.c:1801: Inside #if defined(PIKE_DEBUG)
  {   #ifdef PIKE_DEBUG    extern int t_flag;   #endif    INT32 i=0;    int x;    ptrdiff_t matched_chars;    struct svalue *save_sp=sp;       if(sp[-args].type != T_STRING) -  Pike_error("Bad argument 1 to sscanf().\n"); +  SIMPLE_BAD_ARG_ERROR("sscanf", 1, "string");       if(sp[1-args].type != T_STRING) -  Pike_error("Bad argument 1 to sscanf().\n"); +  SIMPLE_BAD_ARG_ERROR("sscanf", 2, "string");       switch(sp[-args].u.string->size_shift*3 + sp[1-args].u.string->size_shift) {    /* input_shift : match_shift */    case 0:    /* 0 : 0 */    i=very_low_sscanf_0_0(STR0(sp[-args].u.string),    sp[-args].u.string->len,    STR0(sp[1-args].u.string),    sp[1-args].u.string->len,    &matched_chars,