Index: content/shell/android/browsertests_apk/content_browser_tests_android.cc |
diff --git a/content/shell/android/browsertests_apk/content_browser_tests_android.cc b/content/shell/android/browsertests_apk/content_browser_tests_android.cc |
index db399bb6217f0456edb45b66b83989550d05e023..d73ea6feec7fba769f62780093b6796d6c5bad42 100644 |
--- a/content/shell/android/browsertests_apk/content_browser_tests_android.cc |
+++ b/content/shell/android/browsertests_apk/content_browser_tests_android.cc |
@@ -87,7 +87,7 @@ static void RunTests(JNIEnv* env, |
base::android::ConvertJavaStringToUTF8(env, jfiles_dir)); |
base::FilePath fifo_path(files_dir.Append(base::FilePath("test.fifo"))); |
base::android::CreateFIFO(fifo_path, 0666); |
- base::android::RedirectStream(stdout, fifo_path, "w"); |
+ base::android::RedirectStream(stdout, fifo_path, "w+"); |
dup2(STDOUT_FILENO, STDERR_FILENO); |
ScopedMainEntryLogger scoped_main_entry_logger; |