pike.git/
src/
builtin.cmod
Branch:
Tag:
Non-build tags
All tags
No tags
2014-08-27
2014-08-27 01:51:54 by Martin Nilsson <nilsson@opera.com>
78a60763ee4858d76171bdd97d44093b435e7291 (
4
lines) (+
2
/-
2
)
[
Show
|
Annotate
]
Branch:
8.0
Less crashy String.Builder.
3355:
{ struct Buffer_struct *str = THIS; struct pike_string *s = finish_string_builder( &str->str );
-
str->str
.malloced
= 0;
-
str->
str.s
= NULL
;
+
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);