pike.git / src / opcodes.c

version» Context lines:

pike.git/src/opcodes.c:19:   #include "pike_types.h"   #include "pike_memory.h"   #include "fd_control.h"   #include "cyclic.h"   #include "builtin_functions.h"   #include "module_support.h"   #include "security.h"   #include "bignum.h"   #include "operators.h"    - RCSID("$Id: opcodes.c,v 1.82 2000/08/10 09:51:51 per Exp $"); + RCSID("$Id: opcodes.c,v 1.83 2000/08/10 17:39:22 grubba 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))    error("Index permission denied.\n");   #endif
pike.git/src/opcodes.c:1557:   MK_VERY_LOW_SSCANF(1,2)   MK_VERY_LOW_SSCANF(2,2)      void o_sscanf(INT32 args)   {   #ifdef PIKE_DEBUG    extern int t_flag;   #endif    INT32 e,i;    int x; -  long matched_chars; +  ptrdiff_t matched_chars;    struct svalue *save_sp=sp;       if(sp[-args].type != T_STRING)    error("Bad argument 1 to sscanf().\n");       if(sp[1-args].type != T_STRING)    error("Bad argument 1 to sscanf().\n");       switch(sp[-args].u.string->size_shift*3 + sp[1-args].u.string->size_shift) {    /* input_shift : match_shift */
pike.git/src/opcodes.c:1684:    push_int(i);   }      PMOD_EXPORT void f_sscanf(INT32 args)   {   #ifdef PIKE_DEBUG    extern int t_flag;   #endif    INT32 e,i;    int x; -  long matched_chars; +  ptrdiff_t matched_chars;    struct svalue *save_sp=sp;    struct array *a;       check_all_args("array_sscanf",args,BIT_STRING, BIT_STRING,0);       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),