diff options
author | Egor Duda <deo@logos-m.ru> | 2001-03-12 21:27:42 +0000 |
---|---|---|
committer | Egor Duda <deo@logos-m.ru> | 2001-03-12 21:27:42 +0000 |
commit | e935fcf08a59db8d8231de60c2279a04c6c6d554 (patch) | |
tree | c3dbb7f6fc6e53b64650adb52b1916c0151710ea /winsup/cygwin/fhandler_termios.cc | |
parent | 79409dc0a2624e5f601e6e9d7f736fcd8a8e1c99 (diff) | |
download | cygnal-e935fcf08a59db8d8231de60c2279a04c6c6d554.tar.gz cygnal-e935fcf08a59db8d8231de60c2279a04c6c6d554.tar.bz2 cygnal-e935fcf08a59db8d8231de60c2279a04c6c6d554.zip |
* fhandler.h (fhandler_termios::fixup_after_exec): New function.
* fhandler.cc (fhandler_termios::fixup_after_fork): New function.
Fixup output handle.
* fhandler_tty.cc (fhandler_tty_common::fixup_after_fork): Output
handle is now fixed up in fhandler_termios::fixup_after_fork().
Diffstat (limited to 'winsup/cygwin/fhandler_termios.cc')
-rw-r--r-- | winsup/cygwin/fhandler_termios.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler_termios.cc b/winsup/cygwin/fhandler_termios.cc index 046199903..7b8c71feb 100644 --- a/winsup/cygwin/fhandler_termios.cc +++ b/winsup/cygwin/fhandler_termios.cc @@ -308,3 +308,10 @@ fhandler_termios::line_edit (const char *rptr, int nread, int always_accept) return input_done; } + +void +fhandler_termios::fixup_after_fork (HANDLE parent) +{ + this->fhandler_base::fixup_after_fork (parent); + fork_fixup (parent, get_output_handle (), "output_handle"); +} |