apps/speed.c: children should not inherit buffered I/O
authorLutz Jänicke <jaenicke@openssl.org>
Wed, 10 Dec 2008 08:03:47 +0000 (08:03 +0000)
committerLutz Jänicke <jaenicke@openssl.org>
Wed, 10 Dec 2008 08:03:47 +0000 (08:03 +0000)
PR: 1787
Submitted by: Artur Klauser <aklauser@google.com>

apps/speed.c

index fed9131..209c0e6 100644 (file)
@@ -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]);