pike.git / src / opcodes.c

version» Context lines:

pike.git/src/opcodes.c:18:   #include "error.h"   #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"    - RCSID("$Id: opcodes.c,v 1.51 1999/10/25 10:18:46 hubbe Exp $"); + RCSID("$Id: opcodes.c,v 1.52 1999/10/26 17:52:48 noring 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:896:    }    else    while(--field_length >= 0)    {    sval.u.integer<<=8;    sval.u.integer|=EXTRACT_UCHAR(input+eye);    eye++;    }    break;    +  case 'b':    case 'o':    case 'd':    case 'x':    case 'D':    case 'i':    {    char * t;    int base = 0;       if(eye>=input_len)    {    chars_matched[0]=eye;    return matches;    }       switch(match[cnt])    { -  +  case 'b': base = 2; break;    case 'o': base = 8; break;    case 'd': base = 10; break;    case 'x': base = 16; break;    }       string_to_svalue_inumber(&sval, input+eye, &t, base, field_length);       if(input + eye == t)    {    chars_matched[0]=eye;