Blame SOURCES/varnish-6.0.0.fix_el6_fortify_source.patch

beffc1
--- bin/varnishtest/vtc_process.c.orig	2018-04-26 14:12:29.539178105 +0100
beffc1
+++ bin/varnishtest/vtc_process.c	2018-04-26 15:27:49.851948252 +0100
beffc1
@@ -216,7 +216,7 @@
beffc1
 		vtc_dump(p->vl, 4, "stdout", buf, i);
beffc1
 	else if (p->log == 3)
beffc1
 		vtc_hexdump(p->vl, 4, "stdout", buf, i);
beffc1
-	(void)write(p->f_stdout, buf, i);
beffc1
+	assert(write(p->f_stdout, buf, i) == i);
beffc1
 	Term_Feed(p->term, buf, buf + i);
beffc1
 	return (0);
beffc1
 }
beffc1
@@ -239,7 +239,7 @@
beffc1
 	p->stderr_bytes += i;
beffc1
 	AZ(pthread_mutex_unlock(&p->mtx));
beffc1
 	vtc_dump(p->vl, 4, "stderr", buf, i);
beffc1
-	(void)write(p->f_stderr, buf, i);
beffc1
+	assert(write(p->f_stdout, buf, i) == i);
beffc1
 	return (0);
beffc1
 }
beffc1