Index: runtime/bin/builtin_natives.cc |
diff --git a/runtime/bin/builtin_natives.cc b/runtime/bin/builtin_natives.cc |
index 5681c0a58b3a08f120aae76f53b3100d1ccda305..2549e2e5a7e822bc72391b19292d3c39c42c513e 100644 |
--- a/runtime/bin/builtin_natives.cc |
+++ b/runtime/bin/builtin_natives.cc |
@@ -117,10 +117,11 @@ void FUNCTION_NAME(Logger_PrintString)(Dart_NativeArguments args) { |
// an isolate gets interrupted by the embedder in the middle of |
// Dart_StringToUTF8? We need to make sure not to swallow the |
// interrupt. |
- Platform::PrintBlocking(stdout, "%s\n", Dart_GetError(result)); |
+ printf("%s\n", Dart_GetError(result)); |
} else { |
- Platform::PrintBlocking(stdout, "%.*s\n", static_cast<int>(length), chars); |
+ printf("%.*s\n", static_cast<int>(length), chars); |
} |
+ fflush(stdout); |
Ivan Posva
2014/02/11 04:08:37
If you are using fflush here it would be consisten
Anders Johnsen
2014/02/14 08:43:28
Done.
|
} |
} // namespace bin |