* dll_init.cc (per_module::run_dtors): Use consistent method for running
destructors.
This commit is contained in:
parent
8c9c8fa938
commit
e7fd08839e
|
@ -1,3 +1,8 @@
|
|||
2010-02-05 Christopher Faylor <me+cygwin@cgf.cx>
|
||||
|
||||
* dll_init.cc (per_module::run_dtors): Use consistent method for
|
||||
running destructors.
|
||||
|
||||
2010-02-04 Christopher Faylor <me+cygwin@cgf.cx>
|
||||
|
||||
* regcomp.c (p_ere): Workaround incorrect compiler warning.
|
||||
|
|
|
@ -63,8 +63,8 @@ void
|
|||
per_module::run_dtors ()
|
||||
{
|
||||
void (**pfunc)() = dtors;
|
||||
for (int i = 1; pfunc[i]; i++)
|
||||
(pfunc[i]) ();
|
||||
while (*++pfunc)
|
||||
(*pfunc) ();
|
||||
}
|
||||
|
||||
/* Initialize an individual DLL */
|
||||
|
|
Loading…
Reference in New Issue