[PATCH] Fix dlopen vs cxx malloc bug.

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Aug 13 07:38:00 GMT 2009


On Aug 12 22:32, Dave Korn wrote:
> 	* cxx.cc (default_cygwin_cxx_malloc): Enhance commenting.
> 	* dll_init.cc (dll_dllcrt0_1): Likewise.
> 	* dlfcn.cc (dlopen): Prevent dlopen()'d DLL from installing any
> 	cxx malloc overrides.
> 	* include/cygwin/cygwin_dll.h (__dynamically_loaded): New variable.
> 	* lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Check it and only
> 	install cxx malloc overrides when statically loaded.  Extend comments.

Thanks, applied.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat



More information about the Cygwin-patches mailing list