mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-20 16:01:10 +08:00
* 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…
x
Reference in New Issue
Block a user