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

Unified Diff: runtime/bin/main.cc

Issue 11308166: Fix bug 6467: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 1 month 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/bin/run_vm_tests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/main.cc
===================================================================
--- runtime/bin/main.cc (revision 15227)
+++ runtime/bin/main.cc (working copy)
@@ -629,6 +629,7 @@
va_start(arguments, format);
Log::VPrintErr(format, arguments);
va_end(arguments);
+ fflush(stderr);
Dart_ExitScope();
Dart_ShutdownIsolate();
@@ -692,7 +693,9 @@
if (!Dart_Initialize(CreateIsolateAndSetup,
NULL,
ShutdownIsolate)) {
- return ErrorExit("VM initialization failed\n");
+ fprintf(stderr, "%s", "VM initialization failed\n");
+ fflush(stderr);
+ return kErrorExitCode;
}
DartUtils::SetOriginalWorkingDirectory();
« no previous file with comments | « no previous file | runtime/bin/run_vm_tests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698