pike.git/
src/
builtin.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2014-08-27
2014-08-27 06:47:24 by Stephen R. van den Berg <srb@cuci.nl>
1a5c6c67b184ae86f31612d1901326fa80e06b84 (
3
lines) (+
2
/-
1
)
[
Show
|
Annotate
]
Branch:
8.0
Reorder to reduce memory fragmentation.
3355:
{ struct Buffer_struct *str = THIS; struct pike_string *s = finish_string_builder( &str->str );
-
init_string_builder_alloc(&str->str, str->initial, 0);
+
if( Pike_fp->current_object->flags & OBJECT_CLEAR_ON_EXIT ) s->flags |= STRING_CLEAR_ON_EXIT; push_string(s);
-
+
init_string_builder_alloc(&str->str, str->initial, 0);
} /*! @decl Buffer|void cut(int index, int|void end_or_none,void|int discard)