diff options
author | Christopher Faylor <me@cgf.cx> | 2013-10-22 20:41:09 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2013-10-22 20:41:09 +0000 |
commit | 015566ed0021b719651461bc3b6c3b41d7426d83 (patch) | |
tree | 076827f4f1aec830110513de83de6fe74db5783e /winsup/cygwin/fhandler_tty.cc | |
parent | 41f4cb73112980a1e25fb62efcdb1b2501528fd8 (diff) | |
download | cygnal-015566ed0021b719651461bc3b6c3b41d7426d83.tar.gz cygnal-015566ed0021b719651461bc3b6c3b41d7426d83.tar.bz2 cygnal-015566ed0021b719651461bc3b6c3b41d7426d83.zip |
* fhandler.h (fhandler_base::cleanup): Mark as extern rather than inline.
* fhandler_base.cc (fhandler_base::cleanup): Define.
* fhandler_tty.cc (fhandler_pty_slave::cleanup): Call fhandler_base::cleanup.
(fhandler_pty_master::cleanup): Ditto.
Diffstat (limited to 'winsup/cygwin/fhandler_tty.cc')
-rw-r--r-- | winsup/cygwin/fhandler_tty.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc index 34c879503..a5ab72434 100644 --- a/winsup/cygwin/fhandler_tty.cc +++ b/winsup/cygwin/fhandler_tty.cc @@ -573,6 +573,7 @@ fhandler_pty_slave::cleanup () synced or before a non-cygwin process has exited, it should be safe to just close this normally. cgf 2006-05-20 */ report_tty_counts (this, "closed", ""); + fhandler_base::cleanup (); } int @@ -1277,6 +1278,7 @@ fhandler_pty_master::cleanup () report_tty_counts (this, "closing master", ""); if (archetype) from_master = to_master = NULL; + fhandler_base::cleanup (); } int |