platform_bionic/libc/upstream-netbsd
Pawit Pornkitprasan 652289942d bionic: call stdio cleanup on exit
As of 61e699a133, stdio clean up
functions are no longer registered in atexit and must be called
manually via __cleanup.

The issue this fixes is some static binaries linked against bionic
cannot output properly when piped or redirected because the buffer
is not flushed before closing.

This is done by pulling in exit.c (and other dependencies) from
netbsd.

Change-Id: I193e54a6d08900f291550029fe75ce76394d9e22
2013-11-19 09:49:17 +07:00
..
common/lib/libc Upgrade more functions to the current upstream NetBSD copy. 2012-10-23 12:29:53 -07:00
libc bionic: call stdio cleanup on exit 2013-11-19 09:49:17 +07:00
env.h Upgrade to current NetBSD popen/pclose. 2013-03-06 16:20:55 -08:00
extern.h Fix several compiler warnings. 2012-09-26 14:20:22 -07:00
fd_setsize.h More upstream NetBSD upgrades. 2012-10-23 16:05:09 -07:00
namespace.h Fix nice... 2012-08-13 16:38:29 -07:00
netbsd-compat.h Fix a TODO; we've had SOCK_CLOEXEC for a while now. 2013-11-06 17:04:56 -08:00
port_after.h Upgrade more functions to the current upstream NetBSD copy. 2012-10-23 12:29:53 -07:00
port_before.h Fix x86_64 build, clean up intermediate libraries. 2013-10-09 16:00:17 -07:00
rand48.h Fix x86_64 build, clean up intermediate libraries. 2013-10-09 16:00:17 -07:00
README.txt Revert "Revert "Switch to NetBSD's strxfrm(3)."" 2012-08-10 12:10:10 -07:00
reentrant.h Upgrade to current NetBSD popen/pclose. 2013-03-06 16:20:55 -08:00

This directory contains upstream NetBSD source. You should not edit these
files directly. Make fixes upstream and then pull down the new version of
the file.

Note that code in the other 'netbsd' directory contains Android modifications.
We should work towards getting as many of those changes as possible upstream
and then losing those files in favor of pure upstream copies here instead.

TODO: write a script to make this process automated.