pike.git/
src/
builtin_functions.c
Branch:
Tag:
Non-build tags
All tags
No tags
1998-03-06
1998-03-06 16:28:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>
cbdad2f05c1f5f961d5ed662939ad0fd9cdcf788 (
6
lines) (+
4
/-
2
)
[
Show
|
Annotate
]
Branch:
7.9
Fixed bug.
Rev: src/builtin_functions.c:1.78
4:
||| See the files COPYING and DISCLAIMER for more information. \*/ #include "global.h"
-
RCSID("$Id: builtin_functions.c,v 1.
77
1998/03/
02
16:
06
:
58
hubbe
Exp $");
+
RCSID("$Id: builtin_functions.c,v 1.
78
1998/03/
06
16:
28
:
47
grubba
Exp $");
#include "interpret.h" #include "svalue.h" #include "pike_macros.h"
2109:
cmptbl=diff_compare_table(sp[-args].u.array,sp[1-args].u.array); push_array(cmptbl);
-
seq=diff_longest_sequence(cmptbl, sp[
1
-args].u.array->size);
+
/* Note that the stack is one element off here. */
+
seq=diff_longest_sequence(cmptbl, sp[-args].u.array->size);
pop_n_elems(args+1); push_array(seq); }