]> sourceware.org Git - newlib-cygwin.git/commitdiff
Cygwin: pty: Add missing member initialization for struct pipe_reply.
authorTakashi Yano <takashi.yano@nifty.ne.jp>
Sun, 9 Feb 2020 14:46:03 +0000 (23:46 +0900)
committerCorinna Vinschen <corinna@vinschen.de>
Mon, 10 Feb 2020 09:19:38 +0000 (10:19 +0100)
- For pseudo console support, struct pipe_reply was changed in the
  past, however, the initialization was not fixed.

winsup/cygwin/fhandler_tty.cc

index 36b3341b16de3c478496b4dd5710a3569f4d8b7b..1c23c93e3d49125fe7430fe601175c5ed04d5e1a 100644 (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;
This page took 0.03643 seconds and 5 git commands to generate.