diff options
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 101a595fd..d607ea6b4 100644 --- a/winsup/cygwin/fhandler_termios.cc +++ b/winsup/cygwin/fhandler_termios.cc @@ -358,6 +358,13 @@ fhandler_termios::line_edit (const char *rptr, int nread, termios& ti) } void +fhandler_termios::fixup_after_exec () +{ + if (!close_on_exec ()) + fixup_after_fork (NULL); +} + +void fhandler_termios::fixup_after_fork (HANDLE parent) { fhandler_base::fixup_after_fork (parent); |