Blame SOURCES/varnish-6.0.0.fix_el6_fortify_source.patch

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