Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgor Duda <deo@logos-m.ru>2001-03-13 00:27:42 +0300
committerEgor Duda <deo@logos-m.ru>2001-03-13 00:27:42 +0300
commite935fcf08a59db8d8231de60c2279a04c6c6d554 (patch)
treec3dbb7f6fc6e53b64650adb52b1916c0151710ea /winsup/cygwin/fhandler_tty.cc
parent79409dc0a2624e5f601e6e9d7f736fcd8a8e1c99 (diff)
* 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_tty.cc')
-rw-r--r--winsup/cygwin/fhandler_tty.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc
index 705910e18..28ff6b61c 100644
--- a/winsup/cygwin/fhandler_tty.cc
+++ b/winsup/cygwin/fhandler_tty.cc
@@ -1097,7 +1097,7 @@ fhandler_tty_common::set_close_on_exec (int val)
void
fhandler_tty_common::fixup_after_fork (HANDLE parent)
{
- this->fhandler_base::fixup_after_fork (parent);
+ this->fhandler_termios::fixup_after_fork (parent);
if (output_done_event)
fork_fixup (parent, output_done_event, "output_done_event");
if (ioctl_request_event)
@@ -1116,7 +1116,6 @@ fhandler_tty_common::fixup_after_fork (HANDLE parent)
}
if (input_available_event)
fork_fixup (parent, input_available_event, "input_available_event");
- fork_fixup (parent, output_handle, "output_handle");
fork_fixup (parent, inuse, "inuse");
}