src/c2html.c

changeset 41
c06ab07fd29d
parent 40
903b46fc4214
child 42
7f2403c637a7
--- a/src/c2html.c	Tue Aug 23 13:59:48 2016 +0200
+++ b/src/c2html.c	Tue Aug 23 14:13:46 2016 +0200
@@ -244,9 +244,9 @@
         FILE *inputfile = fopen(settings.infilename, "r");
         if (inputfile) {
             UcxBuffer *filebuf = ucx_buffer_new(NULL,
-                    2048, UCX_BUFFER_AUTOEXTEND);
+                    8192, UCX_BUFFER_AUTOEXTEND);
             {
-                const size_t tmpbufsize = 512;
+                const size_t tmpbufsize = 4096;
                 char *tmpbuf = malloc(tmpbufsize);
                 ucx_stream_copy(inputfile, filebuf, (read_func) fread,
                         (write_func) ucx_buffer_write,

mercurial