diff options
author | Christopher Faylor <me@cgf.cx> | 2002-04-19 18:42:20 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-04-19 18:42:20 +0400 |
commit | 27dcb52a29a12c3db35531c5e442a078c477b97b (patch) | |
tree | 322855ee71e104178e90192ed02a69645438da2e /winsup/cygwin/dll_init.cc | |
parent | 4ce4e69db68ce2155c9235ff718914059866d977 (diff) |
revert patch
Diffstat (limited to 'winsup/cygwin/dll_init.cc')
-rw-r--r-- | winsup/cygwin/dll_init.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/winsup/cygwin/dll_init.cc b/winsup/cygwin/dll_init.cc index 4ff740cc4..e5e650fa9 100644 --- a/winsup/cygwin/dll_init.cc +++ b/winsup/cygwin/dll_init.cc @@ -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) { |