When we open a debug console on Windows, don't grab stdin. We never read

anything on this particular console, and if we open stdin here we can't
read a capture from an anonymous pipe.

svn path=/trunk/; revision=25638
This commit is contained in:
Gerald Combs 2008-06-30 16:36:37 +00:00
parent e62c7c54d1
commit 6d4f9c1eda
1 changed files with 1 additions and 1 deletions

View File

@ -2684,7 +2684,7 @@ create_console(void)
create one and make it the standard input, output, and error. */
if (!AllocConsole())
return; /* couldn't create console */
ws_freopen("CONIN$", "r", stdin);
ws_freopen("CONOUT$", "w", stdout);
ws_freopen("CONOUT$", "w", stderr);