diff options
author | Christopher Faylor <me@cgf.cx> | 2013-12-17 23:05:26 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2013-12-17 23:05:26 +0400 |
commit | 891b1e7e22ff6a20040c81b0e21bfe977cbee445 (patch) | |
tree | fb3b68c5a92ed9e881c79f8f427cb615cd0b2b42 /winsup/cygwin/fhandler_tty.cc | |
parent | f51db32d8c8e45123a9465f1a49dd0b7fa036938 (diff) |
* fhandler.h (fhandler_pty_master::~fhandler_pty_master): Delete.
* fhandler_tty.cc (fhandler_pty_master::~fhandler_pty_master): Ditto.
Diffstat (limited to 'winsup/cygwin/fhandler_tty.cc')
-rw-r--r-- | winsup/cygwin/fhandler_tty.cc | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc index e85fa9426..9d928bd64 100644 --- a/winsup/cygwin/fhandler_tty.cc +++ b/winsup/cygwin/fhandler_tty.cc @@ -1326,15 +1326,6 @@ fhandler_pty_master::close () return 0; } -/* 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 () -{ - if (from_master && to_master) - close_with_arch (); -} - ssize_t __stdcall fhandler_pty_master::write (const void *ptr, size_t len) { |