mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-28 15:28:30 +00:00
Fix Windows stdin regression
The non-blocking standard input feature was broken by ec957491e
.
This commit is contained in:
parent
7e08a97cea
commit
b9eb656e41
4 changed files with 19 additions and 7 deletions
|
@ -135,8 +135,8 @@ dontasan dontubsan dontinstrument textwindows void WinMainStdin(void) {
|
|||
NTTRACE("<stdin> CreateThread failed");
|
||||
return;
|
||||
}
|
||||
g_fds.stdin.thread = hStdin;
|
||||
g_fds.stdin.handle = hThread;
|
||||
g_fds.stdin.handle = hStdin;
|
||||
g_fds.stdin.thread = hThread;
|
||||
g_fds.stdin.reader = hReader;
|
||||
g_fds.stdin.writer = hWriter;
|
||||
g_fds.stdin.inisem = hSemaphore;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue