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
fe43caa4a4
commit
a523e997d3
@ -2760,6 +2760,8 @@ static int do_multi(int multi)
|
||||
for(n=0 ; n < multi ; ++n)
|
||||
{
|
||||
pipe(fd);
|
||||
fflush(stdout);
|
||||
fflush(stderr);
|
||||
if(fork())
|
||||
{
|
||||
close(fd[1]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user