aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/tty.cc
diff options
context:
space:
mode:
authorTakashi Yano <takashi.yano@nifty.ne.jp>2020-01-21 11:22:02 +0900
committerCorinna Vinschen <corinna@vinschen.de>2020-01-21 10:31:15 +0100
commit6cc299f0e20e4b76f7dbab5ea8c296ffa4859b62 (patch)
treeed4bee3834aa696c33c7d889d80b09a1c78ed4e3 /winsup/cygwin/tty.cc
parent5377a847764461493c620644f6530892344d1cdd (diff)
downloadnewlib-6cc299f0e20e4b76f7dbab5ea8c296ffa4859b62.zip
newlib-6cc299f0e20e4b76f7dbab5ea8c296ffa4859b62.tar.gz
newlib-6cc299f0e20e4b76f7dbab5ea8c296ffa4859b62.tar.bz2
Cygwin: pty: Revise code waiting for forwarding by master_fwd_thread.
- Though this rarely happens, sometimes the first printing of non- cygwin process does not displayed correctly. To fix this issue, the code for waiting for forwarding by master_fwd_thread is revised.
Diffstat (limited to 'winsup/cygwin/tty.cc')
-rw-r--r--winsup/cygwin/tty.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/tty.cc b/winsup/cygwin/tty.cc
index 695ce91..ef9bbc1 100644
--- a/winsup/cygwin/tty.cc
+++ b/winsup/cygwin/tty.cc
@@ -245,6 +245,7 @@ tty::init ()
num_pcon_attached_slaves = 0;
term_code_page = 0;
need_redraw_screen = false;
+ fwd_done = NULL;
}
HANDLE