1
0
mirror of https://github.com/adtools/clib2.git synced 2025-12-08 14:59:05 +00:00

- The destructor function invocation code no longer calls

setjmp(). This is now done within stdlib_main.c prior to
  calling the destructor function invocation code.


git-svn-id: file:///Users/olsen/Code/migration-svn-zu-git/logical-line-staging/clib2/trunk@14883 87f5fb63-7c3d-0410-a384-fd976d0f7a62
This commit is contained in:
Olaf Barthel
2005-03-11 16:04:51 +00:00
parent f289140266
commit 419172fb0e
4 changed files with 18 additions and 35 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: stdlib_main.c,v 1.15 2005-03-11 13:23:18 obarthel Exp $
* $Id: stdlib_main.c,v 1.16 2005-03-11 16:04:51 obarthel Exp $
*
* :ts=4
*
@ -184,6 +184,11 @@ call_main(void)
SHOWMSG("invoking the destructors");
/* If one of the destructors drops into exit(), either directly
or through a failed assert() call, processing will resume with
the next following destructor. */
(void)setjmp(__exit_jmp_buf);
/* Go through the destructor list */
_fini();