diff options
author | jbates@chromium.org <jbates@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-23 03:43:21 +0000 |
---|---|---|
committer | jbates@chromium.org <jbates@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-23 03:43:21 +0000 |
commit | 68d4b111067f18a789adee26ba3592510da61304 (patch) | |
tree | 6de2361cc0f8d76a60989e5f0412592656e0101d | |
parent | 72059f1c9374518d2894e9efc2f0da7e66438b19 (diff) | |
download | chromium_src-68d4b111067f18a789adee26ba3592510da61304.zip chromium_src-68d4b111067f18a789adee26ba3592510da61304.tar.gz chromium_src-68d4b111067f18a789adee26ba3592510da61304.tar.bz2 |
replace CONERR with CONOUT, because CONERR doesn't work
CONERR$ doesn't show up in the console. Not sure where it goes. For our purposes we want stderr to show up in the console, so let's output to CONOUT instead.
BUG=142722
Review URL: https://chromiumcodereview.appspot.com/10869021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152945 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | base/process_util_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/process_util_win.cc b/base/process_util_win.cc index bbe04d2..8765e50 100644 --- a/base/process_util_win.cc +++ b/base/process_util_win.cc @@ -152,7 +152,7 @@ void RouteStdioToConsole() { if (freopen("CONOUT$", "w", stdout)) setvbuf(stdout, NULL, _IONBF, 0); - if (freopen("CONERR$", "w", stderr)) + if (freopen("CONOUT$", "w", stderr)) setvbuf(stderr, NULL, _IONBF, 0); // Fix all cout, wcout, cin, wcin, cerr, wcerr, clog and wclog. |