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

Christopher Faylor cgf@redhat.com
Fri Apr 19 07:42:00 GMT 2002

On Fri, Apr 19, 2002 at 10:46:28PM +1000, Robert Collins wrote:
>> -----Original Message-----
>> From: Thomas Pfaff [mailto:tpfaff@gmx.net] 
>> Sent: Wednesday, April 17, 2002 5:08 PM
>> > Since i can not judge which function is obsolete (i guess
>> > dll_global_dtors
>> > is) i have attached a small patch that will make sure that 
>> the dtors run
>> > only once.
>I'm not sure that either function is obsolete - I'll let Chris/Corinna
>comment on that.. Your patch looked good, and corrected a test case I
>happened to have hanging around, so I've checked this in as an
>appropriate solution. Thanks for the patch.

If one of the functions is obsolete, it should be deleted.  That means
that the patch does *not* look good.  It needs to be reviewed.

That plus the fact that you don't have global checkin privileges for
cygwin == cgf reverts the patch.


More information about the Cygwin-patches mailing list