[uClibc-cvs] cvs commit to uClibc/libc/stdlib by andersen
cvs at uclinux.org
cvs at uclinux.org
Mon Feb 18 08:50:08 UTC 2002
Repository: uClibc/libc/stdlib
who: andersen
time: Mon Feb 18 03:50:08 EST 2002
Log Message:
Miles Bader writes:
Programs that don't use stdio crash in the `exit' function, because
they call through the pointer__uClibc_cleanup, which has a value of 0.
It has a value of 0 because __uClibc_main.c initializes it to the
address of `__stdio_close_all', which is a weak symbol (and so is 0 if
stdio is not used).
This patch from Miles fixes it, though we need to audit
__stdio_close_all usage to be sure...
Files:
changed: atexit.c
More information about the uClibc-cvs
mailing list