pike.git/
src/
stralloc.c
Branch:
Tag:
Non-build tags
All tags
No tags
2016-01-12
2016-01-12 21:24:53 by Martin Nilsson <nilsson@fastmail.com>
f4ef46ce041473f24da72d893399be012828ebf2 (
3
lines) (+
2
/-
1
)
[
Show
|
Annotate
]
Branch:
8.1
Remove some compat for things removed in 8.0
1631:
return realloc_unlinked_string(a, size); }else{ struct pike_string *r=begin_wide_shared_string(size,a->size_shift);
-
MEMCPY
(r->str, a->str, a->len<<a->size_shift);
+
memcpy
(r->str, a->str, a->len<<a->size_shift);
r->flags |= a->flags & STRING_CHECKED_MASK; r->min = a->min; r->max = a->max;