+2015-06-11 Achim Gratz <Stromeko@NexGo.DE>
+
+ * io_stream.cc (copy): Increase read buffer size for io_stream to
+ 64kiB. Use sizeof operator instead of repeating magic constant.
+
2015-06-07 Achim Gratz <Stromeko@NexGo.DE>
* ini.h: Add macros for use within the implementation of the
if (!in || !out)
return -1;
char
- buffer[16384];
+ buffer[65536];
ssize_t
countin,
countout;
- while ((countin = in->read (buffer, 16384)) > 0)
+ while ((countin = in->read (buffer, sizeof(buffer))) > 0)
{
countout = out->write (buffer, countin);
if (countout != countin)