Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Date: Tue, 10 May 2005 15:43:36 -0400
From: Christopher Faylor <cgf-no-personal-reply-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Static destructors not running
Message-ID: <20050510194336.GB32314@trixie.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
References: <48781a66050509154660edcc78@mail.gmail.com> <SERRANONlJbSorxTjtR000002ab@SERRANO.CAM.ARTIMI.COM> <48781a6605051006066aa9b036@mail.gmail.com> <20050510153512.GZ15665@trixie.casa.cgf.cx> <48781a66050510085450bd1339@mail.gmail.com> <20050510160904.GF15665@trixie.casa.cgf.cx> <48781a66050510122722a2d436@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <48781a66050510122722a2d436@mail.gmail.com>
User-Agent: Mutt/1.5.8i

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/

--
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/

