pike.git/
src/
builtin_functions.c
Branch:
Tag:
Non-build tags
All tags
No tags
2014-09-03
2014-09-03 20:51:16 by Martin Nilsson <nilsson@opera.com>
67074e68e537ff9c7b406495d6414757b785a8d7 (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
8.0
memcmp is C89 and 4.3BSD
1205:
} if (a->size_shift == b->size_shift) {
-
int res = !
MEMCMP
(a->str, b->str, b->len << b->size_shift);
+
int res = !
memcmp
(a->str, b->str, b->len << b->size_shift);
pop_n_elems(args); push_int(res); return;
1278:
} if (a->size_shift == b->size_shift) {
-
int res = !
MEMCMP
(a->str + ((a->len - b->len)<<b->size_shift), b->str,
+
int res = !
memcmp
(a->str + ((a->len - b->len)<<b->size_shift), b->str,
b->len << b->size_shift); pop_n_elems(args); push_int(res);