[PATCH] Fix order of dtors problem.

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
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.
>
>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



More information about the Cygwin-patches mailing list