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.55 1999/10/31 20:52:09 grubba Exp $"); + RCSID("$Id: opcodes.c,v 1.56 1999/10/31 21:51:59 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:1257:    }else{ \    break; \    } \    } \    } \    \    end_str_end=match+e; \    \    if(!contains_percent_percent) \    { \ -  /* FIXME! */ \ +  struct generic_mem_searcher searcher; \    PIKE_CONCAT(p_wchar, INPUT_SHIFT) *s2; \ -  s2=my_memmem(end_str_start, \ -  end_str_end-end_str_start, \ -  input+eye, \ -  input_len-eye); \ +  init_generic_memsearcher(&searcher, end_str_start, \ +  end_str_end - end_str_start, \ +  MATCH_SHIFT, input_len - eye, \ +  INPUT_SHIFT); \ +  s2 = generic_memory_search(&searcher, input+eye, \ +  input_len - eye, INPUT_SHIFT); \    if(!s2) \    { \    chars_matched[0]=eye; \    return matches; \    } \    eye=s2-input; \    new_eye=eye+end_str_end-end_str_start; \    }else{ \    PIKE_CONCAT(p_wchar, INPUT_SHIFT) *p2 = NULL; \    for(;eye<input_len;eye++) \