summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_console.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2013-10-24 15:26:21 +0000
committerChristopher Faylor <me@cgf.cx>2013-10-24 15:26:21 +0000
commit4ae84b225105921c1ceef22ff541b06ba7558c11 (patch)
treee9ecdee88c2f75aca15c9bb1c5364a14bd846bed /winsup/cygwin/fhandler_console.cc
parent84e7adad1da635f1f2305704c756e66936f2f1d8 (diff)
downloadcygnal-4ae84b225105921c1ceef22ff541b06ba7558c11.tar.gz
cygnal-4ae84b225105921c1ceef22ff541b06ba7558c11.tar.bz2
cygnal-4ae84b225105921c1ceef22ff541b06ba7558c11.zip
* external.cc (fillout_pinfo): If start_time is 0, wait a while before
returning the pinfo structure. * fhandler.cc (fhandler_base::open_setup): Convert from inline. * fhandler.h (fhandler_base::open_setup): Declare. * fhandler_console.cc (fhandler_console::open_setup): Always call fhandler_base::open_setup. * fhandler_tty.cc (fhandler_pty_slave::open_setup): Ditto. (fhandler_pty_master::open_setup): Ditto.
Diffstat (limited to 'winsup/cygwin/fhandler_console.cc')
-rw-r--r--winsup/cygwin/fhandler_console.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc
index 14802790a..ca84fed9c 100644
--- a/winsup/cygwin/fhandler_console.cc
+++ b/winsup/cygwin/fhandler_console.cc
@@ -895,6 +895,7 @@ fhandler_console::open_setup (int flags)
set_flags ((flags & ~O_TEXT) | O_BINARY);
if (myself->set_ctty (this, flags) && !myself->cygstarted)
init_console_handler (true);
+ fhandler_base::open_setup (flags);
}
int