* dll_init.cc (per_module::run_dtors): Use consistent method for running

destructors.
This commit is contained in:
Christopher Faylor 2010-02-05 15:05:22 +00:00
parent 8c9c8fa938
commit e7fd08839e
2 changed files with 7 additions and 2 deletions

View File

@ -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.

View File

@ -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 */