From 8b19b43d001f7c842147b366211a25edea7cbf1f Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 2 Mar 2003 18:37:17 +0000 Subject: * dll_init.cc (dll_list::load_after_fork): Don't revert to LoadLibrary if LoadLibraryEx fails. * dtable.cc (dtable::dec_console_fds): Eliminate. (dtable::release): Don't treat console specially. (dtable::build_fhandler): Ditto. * dtable.h (console_fds): Eliminate. (dtable::dec_console_fds): Eliminate. (dtable::inc_console_fds): Eliminate. * fhandler.h (fhandler_console::open_fhs): New static element. * fhandler_console.cc (fhandler_console::open): Increment open_fs. (fhandler_console::close): Call FreeConsole if no more open consoles and ctty is not associated with the console. * syscalls.cc (setsid): Simplify check for when to call FreeConsole. (check_pty_fds): Eliminate definition. * winsup.h (check_pty_fds): Eliminate declaration. --- winsup/cygwin/fhandler.h | 1 + 1 file changed, 1 insertion(+) (limited to 'winsup/cygwin/fhandler.h') diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h index cc6ae7c20..0d902ee7f 100644 --- a/winsup/cygwin/fhandler.h +++ b/winsup/cygwin/fhandler.h @@ -819,6 +819,7 @@ class fhandler_console: public fhandler_termios void set_cursor_maybe (); public: + static int open_fhs; fhandler_console (); -- cgit v1.2.3