[PATCH] dtors run twice on dll detach

2002-04-16 Thread Thomas Pfaff
I ran into a problem when is was trying to build STLPort-4.5.3 as dll (if somebody is interested i can send him my patches). A program build with this dll crashed in _free_r on termination. After testing a while i discovered that the dtors were run twice, the first time from dll_global_dtors, the

Re: Workaround patch for MS CLOSE_WAIT bug

2002-04-16 Thread Christopher Faylor
On Tue, Apr 16, 2002 at 09:06:32AM +0200, Corinna Vinschen wrote: >On Mon, Apr 15, 2002 at 12:19:49PM -0400, Pierre A. Humblet wrote: >> Christopher Faylor wrote: >> >> > How can you second that 100% and then talk about how people have to >> > change ther code to accomodate cygwin? >> I second

[PATCH] dtors run twice on dll detach (update)

2002-04-16 Thread Thomas Pfaff
I am sorry for the previous patch, it was incomplete. This is hopefully a better one: On Tue, 16 Apr 2002, Thomas Pfaff wrote: > I ran into a problem when is was trying to build STLPort-4.5.3 as dll > (if > somebody is interested i can send him my patches). A program build with > this dll crashe

RE: [PATCH] dtors run twice on dll detach (update)

2002-04-16 Thread Robert Collins
> -Original Message- > From: Thomas Pfaff [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 17, 2002 5:08 PM > To: [EMAIL PROTECTED] > Subject: [PATCH] dtors run twice on dll detach (update) > > > I am sorry for the previous patch, it was incomplete. This is > hopefully a better on