diff options
Diffstat (limited to 'winsup/cygwin/fhandler_tty.cc')
-rw-r--r-- | winsup/cygwin/fhandler_tty.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc index 61fb8613d..8238f654c 100644 --- a/winsup/cygwin/fhandler_tty.cc +++ b/winsup/cygwin/fhandler_tty.cc @@ -1201,7 +1201,7 @@ fhandler_pty_master::fhandler_pty_master (int unit) else if (!setup ()) { dev ().parse (FH_ERROR); - return; + return; } set_name ("/dev/ptmx"); } @@ -1302,8 +1302,8 @@ fhandler_pty_master::close () return 0; } -/* This is just to catch error conditions. Since the constructor - ctually opens some handles, and stat() does not open an fd, they need +/* This is just to catch error conditions. Since the constructor + actually opens some handles, and stat() does not open an fd, they need to be closed when the fhandler goes away. */ fhandler_pty_master::~fhandler_pty_master () { |