* dll_init.cc (dll_dllcrt0): Don't try to initialize dll data if we're

dynamically loaded since fork() doesn't work in that scenario anyway.
(dll_dllcrt0_1): Don't accommodate dynamically loaded dlls.
* exceptions.cc (ctrl_c_handler): Don't lock the process; there's too much risk
of deadlock.
* sigproc.cc (_cygtls::remove_wq): Don't try to remove anything from the waitq
if there is obviously nothing there.
* strace.cc (strace::activate): Allow stracing dynamically loaded cygwin1.dll.
This commit is contained in:
Christopher Faylor
2011-12-08 06:17:49 +00:00
parent 069e637c0e
commit 5025bf330b
5 changed files with 18 additions and 13 deletions

View File

@ -927,7 +927,6 @@ static BOOL WINAPI
ctrl_c_handler (DWORD type)
{
static bool saw_close;
lock_process now;
if (!cygwin_finished_initializing)
{