pike.git/
src/
builtin_functions.c
Branch:
Tag:
Non-build tags
All tags
No tags
2009-08-26
2009-08-26 15:50:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>
c2464eda9259d43f6097a40630d68b1df08b94dd (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
Ensure that the elements on the stack are always valid.
Rev: src/builtin_functions.c:1.692
2:
|| 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: builtin_functions.c,v 1.
691
2009/08/26
12
:
25
:
57
mast
Exp $
+
|| $Id: builtin_functions.c,v 1.
692
2009/08/26
15
:
50
:
31
grubba
Exp $
*/ #include "global.h"
437:
SIMPLE_TOO_FEW_ARGS_ERROR("copy_value",1); pop_n_elems(args-1);
-
Pike
_
sp++
;
+
push
_
undefined()
;
/* Placeholder */
copy_svalues_recursively_no_free(Pike_sp-1,Pike_sp-2,1,0); free_svalue(Pike_sp-2); move_svalue (Pike_sp - 2, Pike_sp - 1);