Cygwin: pty: Add missing member initialization for struct pipe_reply.

- For pseudo console support, struct pipe_reply was changed in the
  past, however, the initialization was not fixed.
This commit is contained in:
Takashi Yano 2020-02-09 23:46:03 +09:00 committed by Corinna Vinschen
parent d5985cc45d
commit a4ca6c4861
1 changed files with 1 additions and 1 deletions

View File

@ -2878,7 +2878,7 @@ fhandler_pty_master::pty_master_thread ()
while (!exit && (ConnectNamedPipe (master_ctl, NULL)
|| GetLastError () == ERROR_PIPE_CONNECTED))
{
pipe_reply repl = { NULL, NULL, NULL, 0 };
pipe_reply repl = { NULL, NULL, NULL, NULL, 0 };
bool deimp = false;
NTSTATUS allow = STATUS_ACCESS_DENIED;
ACCESS_MASK access = EVENT_MODIFY_STATE;