bionic/libc/upstream-netbsd/libc
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
..
compat-43 Switch to the current NetBSD regex implementation. 2012-08-15 15:39:11 -07:00
gen Upgrade to current NetBSD popen/pclose. 2013-03-06 16:20:55 -08:00
include/isc More upstream NetBSD upgrades. 2012-10-23 16:05:09 -07:00
inet Upgrade more functions to the current upstream NetBSD copy. 2012-10-23 12:29:53 -07:00
isc More upstream NetBSD upgrades. 2012-10-23 16:05:09 -07:00
regex Switch to the current NetBSD regex implementation. 2012-08-15 15:39:11 -07:00
stdio Add getdelim(3) and getline(3) to bionic 2012-09-27 11:38:57 -07:00
stdlib bionic: call stdio cleanup on exit 2013-11-19 09:49:17 +07:00
string Our strcoll(3) is no different from NetBSD's, so take exactly theirs. 2013-01-22 15:10:19 -08:00
thread-stub bionic: call stdio cleanup on exit 2013-11-19 09:49:17 +07:00
unistd More upstream NetBSD upgrades. 2012-10-23 16:05:09 -07:00