1.1 --- a/src/c2html.c Thu Nov 10 18:44:48 2016 +0100 1.2 +++ b/src/c2html.c Mon Nov 13 13:52:00 2017 +0100 1.3 @@ -29,8 +29,8 @@ 1.4 1.5 #include "c2html.h" 1.6 1.7 -#include "ucx/list.h" 1.8 -#include "ucx/utils.h" 1.9 +#include <ucx/list.h> 1.10 +#include <ucx/utils.h> 1.11 1.12 #define try_write(wfnc, str, n, buf, written, maxlen) \ 1.13 { \ 1.14 @@ -99,8 +99,8 @@ 1.15 size_t maxlen, c2html_highlighter_func hltr, int showln) { 1.16 1.17 UcxBuffer *content = ucx_buffer_new(NULL, ibuflen*2, UCX_BUFFER_AUTOEXTEND); 1.18 - ucx_stream_copy(inputbuffer, content, rfnc, (write_func) ucx_buffer_write, 1.19 - ibuf, ibuflen, (size_t)-1); 1.20 + ucx_stream_bcopy(inputbuffer, content, rfnc, (write_func) ucx_buffer_write, 1.21 + ibuf, ibuflen); 1.22 1.23 size_t n = c2html_bformatn(content->space, content->size, 1.24 outputbuffer, wfnc, maxlen, hltr, showln);