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

Unified Diff: src/IceBrowserCompileServer.cpp

Issue 1911713002: Subzero: Fix a warning message in the browser build. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 4 years, 8 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceBrowserCompileServer.cpp
diff --git a/src/IceBrowserCompileServer.cpp b/src/IceBrowserCompileServer.cpp
index 0b622df696561b9215761a7d9a18ebeea97e9803..8b94a977250d1d151b24f4485453d98f6a85e78e 100644
--- a/src/IceBrowserCompileServer.cpp
+++ b/src/IceBrowserCompileServer.cpp
@@ -277,7 +277,9 @@ void BrowserCompileServer::startCompileThread(int ObjFD) {
InputStream = new llvm::QueueStreamer();
bool LogStreamFailure = false;
int LogFD = STDOUT_FILENO;
- if (getFlags().getLogFilename() == "/dev/stderr") {
+ if (getFlags().getLogFilename() == "-") {
+ // Common case, do nothing.
+ } else if (getFlags().getLogFilename() == "/dev/stderr") {
LogFD = STDERR_FILENO;
} else {
LogStreamFailure = true;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698