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