summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Yano <takashi.yano@nifty.ne.jp>2020-02-09 23:46:03 +0900
committerCorinna Vinschen <corinna@vinschen.de>2020-02-10 10:19:38 +0100
commita4ca6c4861a4d7fa75b7e0a98dca0ad6bfda3390 (patch)
treeaff3ed98c81874736c51265481aea7b5a3e8cc8e
parentd5985cc45d90baa40685f6af1c1cd5eba1a342a6 (diff)
downloadcygnal-a4ca6c4861a4d7fa75b7e0a98dca0ad6bfda3390.tar.gz
cygnal-a4ca6c4861a4d7fa75b7e0a98dca0ad6bfda3390.tar.bz2
cygnal-a4ca6c4861a4d7fa75b7e0a98dca0ad6bfda3390.zip
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.
-rw-r--r--winsup/cygwin/fhandler_tty.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc
index 36b3341b1..1c23c93e3 100644
--- a/winsup/cygwin/fhandler_tty.cc
+++ b/winsup/cygwin/fhandler_tty.cc
@@ -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;