Bigger I/O buffer.
authorIain Patterson <me@iain.cx>
Sun, 12 Jan 2014 19:27:02 +0000 (19:27 +0000)
committerIain Patterson <me@iain.cx>
Sun, 12 Jan 2014 19:27:02 +0000 (19:27 +0000)
We set a small logging buffer size when testing.  The buffer should be
bigger for a final release.

io.cpp

diff --git a/io.cpp b/io.cpp
index 072061e..cc85673 100644 (file)
--- a/io.cpp
+++ b/io.cpp
@@ -395,7 +395,7 @@ unsigned long WINAPI log_and_rotate(void *arg) {
     size = l.QuadPart;\r
   }\r
 \r
-  char buffer[80];\r
+  char buffer[1024];\r
   void *address;\r
   unsigned long in, out;\r
   while (true) {\r