Explorar o código

Bigger I/O buffer.

We set a small logging buffer size when testing.  The buffer should be
bigger for a final release.
Iain Patterson %!s(int64=10) %!d(string=hai) anos
pai
achega
ae28ecf7fa
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      io.cpp

+ 1 - 1
io.cpp

@@ -395,7 +395,7 @@ unsigned long WINAPI log_and_rotate(void *arg) {
     size = l.QuadPart;
   }
 
-  char buffer[80];
+  char buffer[1024];
   void *address;
   unsigned long in, out;
   while (true) {