summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-08-05 00:17:00 +0000
committerDan Gohman <gohman@apple.com>2009-08-05 00:17:00 +0000
commit7ce1fe2d04e4fdc44c1d28954a27611e5c3f179f (patch)
tree1046233978a6f3ecae4616a18d46be068dee94e1 /llvm
parente565995c6543714024563e21060042c405e54e4a (diff)
downloadbcm5719-llvm-7ce1fe2d04e4fdc44c1d28954a27611e5c3f179f.tar.gz
bcm5719-llvm-7ce1fe2d04e4fdc44c1d28954a27611e5c3f179f.zip
Remove needless uses of std::flush in the parent process after a
fork call. This eliminates a need for <iostream>. Also remove needless fsync calls. llvm-svn: 78131
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/System/Unix/Program.inc7
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/System/Unix/Program.inc b/llvm/lib/System/Unix/Program.inc
index 43a3e7f2833..a4a769c2b16 100644
--- a/llvm/lib/System/Unix/Program.inc
+++ b/llvm/lib/System/Unix/Program.inc
@@ -18,7 +18,6 @@
#include <llvm/Config/config.h>
#include "Unix.h"
-#include <iostream>
#if HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
@@ -214,12 +213,6 @@ Program::Execute(const Path& path,
break;
}
- // Make sure stderr and stdout have been flushed
- std::cerr << std::flush;
- std::cout << std::flush;
- fsync(1);
- fsync(2);
-
Pid_ = child;
return true;
OpenPOWER on IntegriCloud