diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-05-16 17:33:43 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2012-10-23 11:17:04 +0200 |
commit | dca7397f16f1b7e297be6a0c6b56f5d70ffc02e7 (patch) | |
tree | 0d3e80fd6da7804c831b5c5b4b6217fc5abf1b32 | |
parent | 3bb6f5ec805ecfe78eba6d4d98e3ffcab195273a (diff) |
win32: there is no CONERR$, only CONOUT$
-rw-r--r-- | src/remote-viewer-main.c | 2 | ||||
-rw-r--r-- | src/windows-cmdline-wrapper.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/remote-viewer-main.c b/src/remote-viewer-main.c index f92ef13..2a8973d 100644 --- a/src/remote-viewer-main.c +++ b/src/remote-viewer-main.c @@ -233,7 +233,7 @@ main(int argc, char **argv) if (AttachConsole(ATTACH_PARENT_PROCESS) != 0) { freopen("CONIN$", "r", stdin); freopen("CONOUT$", "w", stdout); - freopen("CONERR$", "w", stderr); + freopen("CONOUT$", "w", stderr); dup2(fileno(stdin), STDIN_FILENO); dup2(fileno(stdout), STDOUT_FILENO); dup2(fileno(stderr), STDERR_FILENO); diff --git a/src/windows-cmdline-wrapper.c b/src/windows-cmdline-wrapper.c index 510763b..704e2d7 100644 --- a/src/windows-cmdline-wrapper.c +++ b/src/windows-cmdline-wrapper.c @@ -30,7 +30,7 @@ * if (AttachConsole(ATTACH_PARENT_PROCESS) != 0) { * freopen("CONIN$", "r", stdin); * freopen("CONOUT$", "w", stdout); - * freopen("CONERR$", "w", stderr); + * freopen("CONOUT$", "w", stderr); * dup2(fileno(stdin), STDIN_FILENO); * dup2(fileno(stdout), STDOUT_FILENO); * dup2(fileno(stderr), STDERR_FILENO); |