Index: runtime/bin/stdio_linux.cc |
diff --git a/runtime/bin/stdio_linux.cc b/runtime/bin/stdio_linux.cc |
index 5d1739a6b70edcb380a14d0b4f53baa169027f16..f61cc30319bb35b392b646baa5d3ed15113873da 100644 |
--- a/runtime/bin/stdio_linux.cc |
+++ b/runtime/bin/stdio_linux.cc |
@@ -18,12 +18,10 @@ namespace dart { |
namespace bin { |
int Stdin::ReadByte() { |
- FDUtils::SetBlocking(STDIN_FILENO); |
int c = getchar(); |
if (c == EOF) { |
c = -1; |
} |
- FDUtils::SetNonBlocking(STDIN_FILENO); |
return c; |
} |