diff options
author | Christopher Faylor <me@cgf.cx> | 2003-03-02 21:37:17 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-03-02 21:37:17 +0300 |
commit | 8b19b43d001f7c842147b366211a25edea7cbf1f (patch) | |
tree | 29aa73bb038ceaaacdd99d3175040d50990afa0c /winsup/cygwin/dll_init.cc | |
parent | 3efc65f7df1be5ce066e2da0d6c21f68aec71dbf (diff) |
* 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.
Diffstat (limited to 'winsup/cygwin/dll_init.cc')
-rw-r--r-- | winsup/cygwin/dll_init.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/winsup/cygwin/dll_init.cc b/winsup/cygwin/dll_init.cc index 7400c14d7..15d50b229 100644 --- a/winsup/cygwin/dll_init.cc +++ b/winsup/cygwin/dll_init.cc @@ -308,11 +308,6 @@ dll_list::load_after_fork (HANDLE parent, dll *first) HMODULE h = LoadLibraryEx (d.name, NULL, DONT_RESOLVE_DLL_REFERENCES); if (!h) - { - unload = false; - h = LoadLibrary (d.name); - } - if (!h) system_printf ("can't reload %s", d.name); /* See if DLL will load in proper place. If so, free it and reload it the right way. |