forked from osmocom/wireshark
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:
parent
e62c7c54d1
commit
6d4f9c1eda
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue