This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Static destructors not running


On 5/10/05, Christopher Faylor <cgf-no-personal-reply-please@cygwin.com> wrote:
> On Tue, May 10, 2005 at 03:27:02PM -0400, William M. (Mike) Miller wrote:
> >On 5/10/05, Christopher Faylor <cgf-no-personal-reply-please@cygwin.com> wrote:
> >> Previous to 1.5.16, static destructors were always called via a
> >> gcc "atexit" mechanism.  This meant that there were scenarios where
> >> destructors would not be called at all so I made cygwin's exit call
> >> the destructors explicitly.   I just forgot to make cygwin do the right
> >> thing when returning from main rather than exiting.  This will be
> >> fixed in the next snapshot.
> >
> >Sorry, one more question.  I thought from the above that
> >reinstalling 1.5.15 would restore the previous behavior for static
> >destructors.  According to cygcheck, I now have cygwin 1.5.15-1
> >installed, but I still don't see the static destructor output.  Is there
> >something else I need to revert while waiting for the fix?
> 
> Install the snapshot:  http://cygwin.com/snapshots/

Yep, fixed.  Thanks again.

-- 
William M. (Mike) Miller | Edison Design Group
william.m.miller@gmail.com

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]