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

Unified Diff: runtime/platform/assert.cc

Issue 2132833002: Make core snapshot word-size portable again. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: constants Created 4 years, 5 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
« no previous file with comments | « no previous file | runtime/vm/clustered_snapshot.h » ('j') | runtime/vm/clustered_snapshot.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/platform/assert.cc
diff --git a/runtime/platform/assert.cc b/runtime/platform/assert.cc
index c5b91e714f3bbb6c4a1ea6c73c56b562a38ffab4..9900e1a73c22816f8e420f187f1e58a988337781 100644
--- a/runtime/platform/assert.cc
+++ b/runtime/platform/assert.cc
@@ -34,8 +34,8 @@ void DynamicAssertionHelper::Fail(const char* format, ...) {
arguments);
va_end(arguments);
- // Print the buffer on stderr.
- fprintf(stderr, "%s\n", buffer);
+ // Print the buffer on stderr and/or syslog.
+ OS::PrintErr("%s\n", buffer);
fflush(stderr);
siva 2016/07/08 16:25:20 OS::PrintErr does a fflush of the stream, this ffl
rmacnak 2016/07/08 18:08:58 Done.
// In case of failed assertions, abort right away. Otherwise, wait
« no previous file with comments | « no previous file | runtime/vm/clustered_snapshot.h » ('j') | runtime/vm/clustered_snapshot.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698