bionic/libc
Elliott Hughes 0ac0df84c7 Fix struct stat to match POSIX 2008.
Our representation of sub-second times matched the Linux kernel, and we
provided macros for glibc source compatibility. This change switches us
over to match POSIX 2008, adds the macros they insist on (for compatibility
with earlier versions of POSIX), and also adds macros for compatibility
with any code that expects the kernel or old bionic names.

Unfortunately this breaks strace which defines its own structures using
the kernel names, and thus implicitly assumes that there are no macros with
those names, but this does allow the rest of the tree to build.

Bug: 18298106
Change-Id: Ibfa8c21cb2a2566091ef3dc2019a9f78d2de2991
2014-11-07 19:15:10 -08:00
..
arch-arm Add sethostname(2). 2014-11-07 16:48:27 -08:00
arch-arm64 Add sethostname(2). 2014-11-07 16:48:27 -08:00
arch-common/bionic Revert "Register __libc_fini as early as possible." 2014-09-04 21:54:34 +00:00
arch-mips Add sethostname(2). 2014-11-07 16:48:27 -08:00
arch-mips64 Add sethostname(2). 2014-11-07 16:48:27 -08:00
arch-x86 Add sethostname(2). 2014-11-07 16:48:27 -08:00
arch-x86_64 Add sethostname(2). 2014-11-07 16:48:27 -08:00
bionic Implement all the POSIX _l functions. 2014-11-06 15:52:22 -08:00
dns am 6c5694b6: Merge "Migrate system/extra getaddrinfo test, and fix a bug in getservbyname(3)." 2014-10-28 04:33:09 +00:00
include Fix struct stat to match POSIX 2008. 2014-11-07 19:15:10 -08:00
kernel am d5e1c583: Merge "Move to v3.16.3 kernel headers." 2014-09-18 21:48:49 +00:00
private Add semaphore tests, fix sem_destroy. 2014-09-19 17:37:06 -07:00
stdio Fix warning of missing field initializer. 2014-11-04 12:09:35 -08:00
tools Add support for listing missing POSIX 2013 symbols. 2014-11-05 16:54:53 -08:00
tzcode Disable tzdata in $ANDROID_DATA. 2014-10-28 09:34:09 -07:00
upstream-dlmalloc Return total footprint, not high water mark. 2014-10-13 12:45:35 -07:00
upstream-freebsd Remove an unused file. 2014-10-29 13:42:23 -07:00
upstream-netbsd Add POSIX lcong48. 2014-11-06 14:14:37 -08:00
upstream-openbsd Ensure we initialize stdin/stdout/stderr's recursive mutexes. 2014-11-03 12:32:17 -08:00
zoneinfo Update bionic to tzdata2014i. 2014-10-22 12:31:02 -07:00
Android.mk Implement all the POSIX _l functions. 2014-11-06 15:52:22 -08:00
crt.mk Reconfig libc's Android.mk to build for multilib 2014-02-12 13:58:34 -08:00
MODULE_LICENSE_BSD auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
NOTICE Update NOTICE files. 2014-09-13 09:42:41 -07:00
SYSCALLS.TXT Add sethostname(2). 2014-11-07 16:48:27 -08:00