summaryrefslogtreecommitdiffstats
path: root/apps/speed.c
diff options
context:
space:
mode:
authorLutz Jänicke <jaenicke@openssl.org>2008-12-10 08:03:47 +0000
committerLutz Jänicke <jaenicke@openssl.org>2008-12-10 08:03:47 +0000
commitd88d941c87635c503ed075adac8c18f6c570b3fd (patch)
treefac0000f1837ea931bb131e0080b72387c40011b /apps/speed.c
parent9d44cd1642c85c95ffb5ac0cfc2af800291fd49a (diff)
apps/speed.c: children should not inherit buffered I/O
PR: 1787 Submitted by: Artur Klauser <aklauser@google.com>
Diffstat (limited to 'apps/speed.c')
-rw-r--r--apps/speed.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/speed.c b/apps/speed.c
index fed9131467..209c0e6464 100644
--- a/apps/speed.c
+++ b/apps/speed.c
@@ -2593,6 +2593,8 @@ static int do_multi(int multi)
for(n=0 ; n < multi ; ++n)
{
pipe(fd);
+ fflush(stdout);
+ fflush(stderr);
if(fork())
{
close(fd[1]);