]> sourceware.org Git - newlib-cygwin.git/commitdiff
revert patch
authorChristopher Faylor <me@cgf.cx>
Fri, 19 Apr 2002 14:42:20 +0000 (14:42 +0000)
committerChristopher Faylor <me@cgf.cx>
Fri, 19 Apr 2002 14:42:20 +0000 (14:42 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/dll_init.cc
winsup/cygwin/dll_init.h

index 553bd3419d063928d6e10bc293cbac6da59444be..de3ac037fe925169d1adac907bac1d1bbf67f1fc 100644 (file)
@@ -1,9 +1,3 @@
-2002-04-16  Thomas Pfaff  <tpfaff@gmx.net>
-       
-       * dll_init.h (per_process::dtors_run): New member.
-       * dll_init.cc (per_module::run_dtors): Run dtors only once.
-       (dll::init): Initialize dtors_run flag.
-
 Wed Apr 17 11:27:04 2002  Jason Tishler <jason@tishler.net>
 
        * security.cc (get_lsa_srv_inf): Prevent extraneous backslashes for
index 4ff740cc404b122640e66dd5f73a93559416fe53..e5e650fa970fc063ad1417c1ee2d859c4ab54435 100644 (file)
@@ -59,11 +59,6 @@ void
 per_module::run_dtors ()
 {
   void (**pfunc)() = dtors;
-
-  if( dtors_run )
-     return;
-  dtors_run = true;
-
   for (int i = 1; pfunc[i]; i++)
     (pfunc[i]) ();
 }
@@ -77,8 +72,6 @@ dll::init ()
   /* Why didn't we just import this variable? */
   *(p.envptr) = __cygwin_environ;
 
-  p.dtors_run = false;
-
   /* Don't run constructors or the "main" if we've forked. */
   if (!in_forkee)
     {
index 848d4d5ad4408e00023b186ef37a5725d52ba358..bc9687bf769cfd9d2771342ad90a9f380e0c3416 100644 (file)
@@ -13,7 +13,6 @@ struct per_module
   char ***envptr;
   void (**ctors)(void);
   void (**dtors)(void);
-  bool dtors_run;
   void *data_start;
   void *data_end;
   void *bss_start;
This page took 0.034834 seconds and 5 git commands to generate.