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