pike.git/
src/
stralloc.c
Branch:
Tag:
Non-build tags
All tags
No tags
2013-06-12
2013-06-12 18:12:44 by Arne Goedeke <el@laramies.com>
0d379bfce716e493ed7f4139e5b3b044ca415cdd (
3
lines) (+
2
/-
1
)
[
Show
|
Annotate
]
Branch:
7.9
keep STRING_NOT_SHARED flag
2543:
if (str->refs == 1 && str->len > SHORT_STRING_THRESHOLD) { /* Unlink the string and use it as buffer directly. */ unlink_pike_string (str);
-
str->flags =
0
;
+
str->flags =
STRING_NOT_SHARED
;
s->s = str; s->malloced = str->len; s->known_shift = str->size_shift;