* stdlib/cxa_atexit.c (__new_exitfn_called): New variable.
authorUlrich Drepper <drepper@redhat.com>
Wed, 26 Jul 2006 07:27:20 +0000 (07:27 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 26 Jul 2006 07:27:20 +0000 (07:27 +0000)
commita92b1166e524c44266493c972c89191d52f5c604
treec4fa1d732a8c7e82e1f309d97207299758f9e802
parentbd3754dcf6aae7132b5b9959b3e0907475b42f62
* stdlib/cxa_atexit.c (__new_exitfn_called): New variable.

(__new_exitfn): Bump it in every successful call.
* stdlib/cxa_finalize.c (__cxa_finalize): If destructor registered
more exit handlers, call them right away.
* stdlib/exit.h: Declare __new_exitfn_called.
ChangeLog
stdlib/cxa_atexit.c
stdlib/cxa_finalize.c
stdlib/exit.h