]> sourceware.org Git - newlib-cygwin.git/commit
* dll_init.cc (dll_list::alloc): Compare linked DLLs by basename only.
authorCorinna Vinschen <corinna@vinschen.de>
Sun, 4 Mar 2012 16:47:45 +0000 (16:47 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Sun, 4 Mar 2012 16:47:45 +0000 (16:47 +0000)
commitf5b0d9d414b7be8e93363fb7a2d46425710585f7
treee968510cc300d7e40564ac8941c0d58353058e96
parent50124fc05680a1f01a52a28bd89abb86ccc8eae7
* dll_init.cc (dll_list::alloc): Compare linked DLLs by basename only.
Explain why.  Add code to check if a DLL with the same basename but
different path is the same DLL.  Bail out if not.
(in_load_after_fork): New static NO_COPY bool to allow to differ
between linked and loaded DLL at fork.
(dll_list::load_after_fork): Set in_load_after_fork accordingly.
(dll_dllcrt0_1): Don't treat DLL as linked if in_load_after_fork is set.
Drop test for in_forkee.
winsup/cygwin/ChangeLog
winsup/cygwin/dll_init.cc
This page took 0.029688 seconds and 5 git commands to generate.