* dll_init.h (has_dtors): New flag.

(run_dtors): New wrapper function which avoids calling dtors more than once.
* dll_init.cc (dll_global_dtors): Use dll.run_dtors wrapper.
(dll_list::detach): Ditto.
(dll_list::alloc): Set has_dtors flag.
This commit is contained in:
Christopher Faylor
2009-08-21 21:32:06 +00:00
parent e41f43a1a6
commit 6282fe16dd
3 changed files with 22 additions and 2 deletions

View File

@@ -1,3 +1,12 @@
2009-08-21 Christopher Faylor <me+cygwin@cgf.cx>
* dll_init.h (has_dtors): New flag.
(run_dtors): New wrapper function which avoids calling dtors more than
once.
* dll_init.cc (dll_global_dtors): Use dll.run_dtors wrapper.
(dll_list::detach): Ditto.
(dll_list::alloc): Set has_dtors flag.
2009-08-21 Christopher Faylor <me+cygwin@cgf.cx>
* fcntl.cc (fcntl64): Detect negative fd as error.