pike.git / src / interpret.c

version» Context lines:

pike.git/src/interpret.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: interpret.c,v 1.382 2007/06/17 01:33:51 mast Exp $ + || $Id: interpret.c,v 1.383 2007/07/01 12:34:41 grubba Exp $   */      #include "global.h"   #include "interpret.h"   #include "object.h"   #include "program.h"   #include "svalue.h"   #include "array.h"   #include "mapping.h"   #include "pike_error.h"
pike.git/src/interpret.c:1777:    ptrdiff_t fun=0;    struct svalue *save_sp=Pike_sp-args;      #if defined(PIKE_DEBUG) && defined(_REENTRANT)    if(d_flag)    {    THREAD_T self = th_self();       CHECK_INTERPRETER_LOCK();    -  if( Pike_interpreter.thread_state && -  !th_equal(Pike_interpreter.thread_state->id, self) ) +  if (Pike_interpreter.thread_state) { +  if (!th_equal(Pike_interpreter.thread_state->id, self))    Pike_fatal("Current thread is wrong.\n");       DEBUG_CHECK_THREAD();    } -  +  }   #endif       switch(type)    {    case APPLY_STACK:    if(!args)    PIKE_ERROR("`()", "Too few arguments (apply stack).\n", Pike_sp, 0);    args--;    arg1=(void *)(Pike_sp-args-1);