Added call to libc_wrapup() in _exit. This fixes a problem where

the atexit routines on the global reentrancy structure were not
invoked.  But it does not seem like a 100% correct solution.
This commit is contained in:
Joel Sherrill
1998-02-03 18:30:05 +00:00
parent 52dd75da50
commit f00d7add72
3 changed files with 3 additions and 0 deletions

View File

@@ -355,6 +355,7 @@ int get_errno()
#if !defined(pc386)
void _exit(int status)
{
libc_wrapup(); /* Why? XXX */
rtems_shutdown_executive(status);
}
#endif

View File

@@ -355,6 +355,7 @@ int get_errno()
#if !defined(pc386)
void _exit(int status)
{
libc_wrapup(); /* Why? XXX */
rtems_shutdown_executive(status);
}
#endif