pike.git
/
src
/
operators.c
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/operators.c:1:
/*\ ||| This file a part of Pike, and is copyright by Fredrik Hubinette ||| Pike is distributed as GPL (General Public License) ||| See the files COPYING and DISCLAIMER for more information. \*/ /**/ #include "global.h" #include <math.h>
-
RCSID("$Id: operators.c,v 1.
143
2001/12/
10
02:
08
:
16
mast Exp $");
+
RCSID("$Id: operators.c,v 1.
144
2001/12/
16
02:
49
:
42
mast Exp $");
#include "interpret.h" #include "svalue.h" #include "multiset.h" #include "mapping.h" #include "array.h" #include "stralloc.h" #include "opcodes.h" #include "operators.h" #include "language.h" #include "pike_memory.h"
pike.git/src/operators.c:2853:
PMOD_EXPORT void o_not(void) { switch(sp[-1].type) { case T_INT: sp[-1].u.integer = !sp[-1].u.integer; break; case T_FUNCTION: case T_OBJECT:
-
if(IS_ZERO(sp-1))
+
if(
UNSAFE_
IS_ZERO(sp-1))
{ pop_stack(); push_int(1); }else{ pop_stack(); push_int(0); } break; default: