pike.git/
src/
stralloc.c
Branch:
Tag:
Non-build tags
All tags
No tags
2014-12-04
2014-12-04 19:23:39 by Arne Goedeke <el@laramies.com>
2273215b8a80b5d0d7f10b305daa28dd35d8c0d5 (
3
lines) (+
2
/-
1
)
[
Show
|
Annotate
]
Branch:
bill/master_archive_support
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;