# HG changeset patch # User Mike Becker # Date 1739656576 -3600 # Node ID c41ab60fd27a7367d36baaa4abbff078b66ac38a # Parent 4bf793d93ddf4196b66783bc83e9857b08cb0b50 update to ucx 3.1 release diff -r 4bf793d93ddf -r c41ab60fd27a src/c2html.c --- a/src/c2html.c Thu Jul 11 20:15:56 2024 +0200 +++ b/src/c2html.c Sat Feb 15 22:56:16 2025 +0100 @@ -116,6 +116,6 @@ size_t n = c2html_format(lines, outbuf, wfnc, highlighter, showln); /* cleanup and return */ - cxListDestroy(lines); + cxListFree(lines); return n; } \ No newline at end of file diff -r 4bf793d93ddf -r c41ab60fd27a src/frontend.c --- a/src/frontend.c Thu Jul 11 20:15:56 2024 +0200 +++ b/src/frontend.c Sat Feb 15 22:56:16 2025 +0100 @@ -150,7 +150,7 @@ CxBuffer fbuf; cxBufferInit(&fbuf, NULL, 4096, NULL, CX_BUFFER_AUTO_EXTEND); cx_stream_copy(inputfile, &fbuf, (cx_read_func) fread, - (cx_write_func) cxBufferWrite); + cxBufferWriteFunc); cxBufferPut(&fbuf, 0); fclose(inputfile); c2html_textformat(