This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [PATCH] Fix dlopen vs cxx malloc bug.
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Thu, 13 Aug 2009 09:38:00 +0200
- Subject: Re: [PATCH] Fix dlopen vs cxx malloc bug.
- References: <4A8334E6.8010808@gmail.com>
- Reply-to: cygwin-patches at cygwin dot com
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