Branch: Tag:

2016-12-29

2016-12-29 15:02:35 by Arne Goedeke <el@laramies.com>

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.

654:    init_buf(&buf);    describe_svalue(&t,0,0);    s=complex_free_buf(&buf); -  -  fputs(s.str, stderr); -  free(s.str); +  buffer_add_char(&s, 0); +  fputs(buffer_ptr(&s), stderr); +  buffer_free(&s);    }    else    call_handle_error();