This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [PATCH] Fix order of dtors problem.
- From: Christopher Faylor <cgf-use-the-mailinglist-please at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Thu, 30 Jul 2009 09:51:50 -0400
- Subject: Re: [PATCH] Fix order of dtors problem.
- References: <4A71A45A.10409@gmail.com>
- Reply-to: cygwin-patches at cygwin dot com
On Thu, Jul 30, 2009 at 02:47:06PM +0100, Dave Korn wrote:
>
> This is the patch I'm currently testing (so far, uneventfully). I thought I'd
>send it here for posterity just in case I get squashed by a falling hippo or
>anything over the weekend.
>
>winsup/cygwin/ChangeLog:
>
> * globals.cc (enum exit_states::ES_GLOBAL_DTORS): Delete.
> * dcrt0.cc (__main): Schedule dll_global_dtors to run
> atexit before global dtors.
> (do_exit): Delete test for ES_GLOBAL_DTORS and call to
> dll_global_dtors.
FWIW, this looks fine.
cgf