diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-05-11 16:30:51 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-05-11 16:30:51 +0000 |
commit | 4c5080ed0926e845360fb3f97e3442d9de5ae30d (patch) | |
tree | e2b50177a14a450d24da1c9abd185519a47804dd /make/custom/go32.cfg | |
parent | Patch from Erik Ivanenko <erik.ivanenko@utoronto.ca> to correct 32 bit (diff) | |
download | rtems-4c5080ed0926e845360fb3f97e3442d9de5ae30d.tar.bz2 |
Fix based on bug report from Jay Kulpinski <jskulpin@eng01.gdds.com>
that the per task reentrancy structure was not being processed properly
during exit().
joel@oarcorp.com wrote:
>
>
> This is always an ugly place to poke around. :(
>
> The code in newlib/libc/stdlib/exit.c walks the atexit chain for the
> reentrancy structure for JUST the current task. The code in libc_wrapup()
> does it for both the current task and the global reentrancy structure
> (which tends to be where driver atexit()'s were registered.
>
> So I think the _wrapup_reent(0) in libc_wrapup() should be commented out.
>
> If you concur, then I will make the change and improve the comment on this
> line of code to explain things:
>
> libc_wrapup(); /* Why? XXX */
>
> --joel
That does the job. cdtest.exe works correctly now.
Diffstat (limited to 'make/custom/go32.cfg')
0 files changed, 0 insertions, 0 deletions