diff options
author | Christopher Faylor <me@cgf.cx> | 2006-05-27 18:53:36 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2006-05-27 18:53:36 +0000 |
commit | 939f16acf2176d67dbab8712e1c15f03ff10a9af (patch) | |
tree | 7e8df4f59bbbca881926641e91df61f42ae3fcae | |
parent | 344be4a7196cc4702437de93318d228f6b4b90bb (diff) | |
download | cygnal-939f16acf2176d67dbab8712e1c15f03ff10a9af.tar.gz cygnal-939f16acf2176d67dbab8712e1c15f03ff10a9af.tar.bz2 cygnal-939f16acf2176d67dbab8712e1c15f03ff10a9af.zip |
add missing comment
-rw-r--r-- | winsup/cygwin/dll_init.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/winsup/cygwin/dll_init.cc b/winsup/cygwin/dll_init.cc index 418cb5285..670a8e79b 100644 --- a/winsup/cygwin/dll_init.cc +++ b/winsup/cygwin/dll_init.cc @@ -351,6 +351,12 @@ dll_list::load_after_fork (HANDLE parent, dll *first) extern "C" int dll_dllcrt0 (HMODULE h, per_process *p) { + /* Windows apparently installs a bunch of exception handlers prior to + this function getting called and one of them may trip before cygwin + gets to it. So, install our own exception handler only. + FIXME: It is possible that we may have to save state of the + previous exception handler chain and restore it, if problems + are noted. */ if (cygwin_finished_initializing) _my_tls.init_exception_handler (_cygtls::handle_exceptions); |