[PATCH] Fix order of dtors problem.
Thu Jul 30 13:52:00 GMT 2009
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.
> * 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
FWIW, this looks fine.
More information about the Cygwin-patches