* dlfcn.cc (dlopen): Make sure exception handler is really loaded after dynamic

load.
This commit is contained in:
Christopher Faylor 2010-02-24 08:03:44 +00:00
parent fd4a56afe8
commit c6a6b5a3ac
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2010-02-24 Christopher Faylor <me+cygwin@cgf.cx>
* dlfcn.cc (dlopen): Make sure exception handler is really loaded after
dynamic load.
2010-02-23 Christopher Faylor <me+cygwin@cgf.cx>
* cygtls.cc (_cygtls::init_exception_handler): Force installation of

View File

@ -109,6 +109,9 @@ dlopen (const char *name, int)
ret = (void *) LoadLibraryW (path);
/* In case it was removed by LoadLibrary. */
_my_tls.init_exception_handler (_cygtls::handle_exceptions);
/* Restore original cxx_malloc pointer. */
__cygwin_user_data.cxx_malloc = tmp_malloc;