* signal.cc (abort): Call _GLOBAL_REENT's __cleanup.
This commit is contained in:
parent
a6f8d3d6c6
commit
1a063c5030
|
@ -1,3 +1,7 @@
|
||||||
|
2005-01-03 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* signal.cc (abort): Call _GLOBAL_REENT's __cleanup.
|
||||||
|
|
||||||
2005-01-03 Corinna Vinschen <corinna@vinschen.de>
|
2005-01-03 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* syscalls.cc (setmode): Call _fwalk with _GLOBAL_REENT.
|
* syscalls.cc (setmode): Call _fwalk with _GLOBAL_REENT.
|
||||||
|
|
|
@ -331,8 +331,8 @@ abort (void)
|
||||||
be flushed.
|
be flushed.
|
||||||
However this is the way FreeBSD does it, and it is much easier to
|
However this is the way FreeBSD does it, and it is much easier to
|
||||||
do things this way, so... */
|
do things this way, so... */
|
||||||
if (_REENT->__cleanup)
|
if (_GLOBAL_REENT->__cleanup)
|
||||||
_REENT->__cleanup (_REENT);
|
_GLOBAL_REENT->__cleanup (_GLOBAL_REENT);
|
||||||
|
|
||||||
/* Ensure that SIGABRT can be caught regardless of blockage. */
|
/* Ensure that SIGABRT can be caught regardless of blockage. */
|
||||||
sigset_t sig_mask;
|
sigset_t sig_mask;
|
||||||
|
|
Loading…
Reference in New Issue