Index: runtime/bin/stdio_macos.cc |
diff --git a/runtime/bin/stdio_macos.cc b/runtime/bin/stdio_macos.cc |
index 623463ac7c0762fb11360c764752fe9bbbea7d85..4b27a1b56bc71201b76d9b29591d9d6067a40887 100644 |
--- a/runtime/bin/stdio_macos.cc |
+++ b/runtime/bin/stdio_macos.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; |
} |