Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(623)

Unified Diff: runtime/bin/platform.h

Issue 25465002: Always mark stdout as blocking when using 'print'. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/bin/platform.h
diff --git a/runtime/bin/platform.h b/runtime/bin/platform.h
index ca723ae34dc761232127845f0b98d24195b4d883..16be96035692f1d8484a38fd3a881ddd8ee33922 100644
--- a/runtime/bin/platform.h
+++ b/runtime/bin/platform.h
@@ -62,6 +62,9 @@ class Platform {
return argv_;
}
+ static void PrintBlocking(FILE* file, const char* format, ...)
+ PRINTF_ATTRIBUTE(2, 3);
+
private:
static const char* executable_name_;
static const char* package_root_;

Powered by Google App Engine
This is Rietveld 408576698