Branch: Tag:

2013-06-12

2013-06-12 18:12:44 by Arne Goedeke <el@laramies.com>

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;