[master] 5125065 Use a bigger buffer for the stdout/stderr to avoid annoying linebreaks in panic messages.

Poul-Henning Kamp phk at FreeBSD.org
Mon Sep 22 11:44:24 CEST 2014


commit 5125065cc868a069cce3b2f4b09f0d5a217a2fd9
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Sep 22 09:35:55 2014 +0000

    Use a bigger buffer for the stdout/stderr to avoid annoying
    linebreaks in panic messages.

diff --git a/bin/varnishtest/vtc_varnish.c b/bin/varnishtest/vtc_varnish.c
index 00c96c6..c0be978 100644
--- a/bin/varnishtest/vtc_varnish.c
+++ b/bin/varnishtest/vtc_varnish.c
@@ -328,7 +328,7 @@ static void *
 varnish_thread(void *priv)
 {
 	struct varnish *v;
-	char buf[BUFSIZ];
+	char buf[65536];
 	struct pollfd *fds, fd;
 	int i;
 



More information about the varnish-commit mailing list