* 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().
This commit is contained in:
@ -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");
|
||||
}
|
||||
|
Reference in New Issue
Block a user