[4.0] 20ada6a Use a bigger buffer for the stdout/stderr to avoid annoying linebreaks in panic messages.

Lasse Karstensen lkarsten at varnish-software.com
Mon Sep 22 16:38:26 CEST 2014


commit 20ada6ae15240f2a873d61973f837b04e48a1ae0
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 469effd..92027ba 100644
--- a/bin/varnishtest/vtc_varnish.c
+++ b/bin/varnishtest/vtc_varnish.c
@@ -325,7 +325,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