Branch: Tag:


2016-12-31 17:12:22 by Arne Goedeke <>

dynamic_buffer: use new buffer internally

The API of dynamic_buffer is now a slim swapper around the new buffer
API. This changes many places where the dynamic_buffer internals were
directly used.

3024:    dynamic_buffer old_buf;    init_buf(&old_buf);    describe_svalue(va_arg(args, struct svalue *), 0, NULL); -  string_builder_binary_strcat(s, pike_global_buffer.s.str, -  pike_global_buffer.s.len); +  string_builder_binary_strcat(s, buffer_ptr(&pike_global_buffer), +  buffer_content_length(&pike_global_buffer));    toss_buffer(&pike_global_buffer);    restore_buffer(&old_buf);    }