apps/speed.c: children should not inherit buffered I/O
PR: 1787 Submitted by: Artur Klauser <aklauser@google.com>
This commit is contained in:
parent
9d44cd1642
commit
d88d941c87
@ -2593,6 +2593,8 @@ static int do_multi(int multi)
|
|||||||
for(n=0 ; n < multi ; ++n)
|
for(n=0 ; n < multi ; ++n)
|
||||||
{
|
{
|
||||||
pipe(fd);
|
pipe(fd);
|
||||||
|
fflush(stdout);
|
||||||
|
fflush(stderr);
|
||||||
if(fork())
|
if(fork())
|
||||||
{
|
{
|
||||||
close(fd[1]);
|
close(fd[1]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user