diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-02-03 18:30:05 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-02-03 18:30:05 +0000 |
commit | f00d7add726f6a70cb52fbddb5fdf32584df28f1 (patch) | |
tree | 9aca218d310948f514975f3d3b78df928d1eb30a /c/src/exec | |
parent | Corrected spelling error so interrupt driven console would work. (diff) | |
download | rtems-f00d7add726f6a70cb52fbddb5fdf32584df28f1.tar.bz2 |
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.
Diffstat (limited to 'c/src/exec')
-rw-r--r-- | c/src/exec/libcsupport/src/newlibc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/c/src/exec/libcsupport/src/newlibc.c b/c/src/exec/libcsupport/src/newlibc.c index d6a7f6fd6b..ae5365aa39 100644 --- a/c/src/exec/libcsupport/src/newlibc.c +++ b/c/src/exec/libcsupport/src/newlibc.c @@ -355,6 +355,7 @@ int get_errno() #if !defined(pc386) void _exit(int status) { + libc_wrapup(); /* Why? XXX */ rtems_shutdown_executive(status); } #endif |