[PATCH] Fix order of dtors problem.

Dave Korn dave.korn.cygwin@googlemail.com
Thu Jul 30 13:34:00 GMT 2009

  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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: no-ES_GLOBAL_DTORS.diff
Type: text/x-c
Size: 1668 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20090730/fdda15dc/attachment.bin>

More information about the Cygwin-patches mailing list