platform_bionic/libc
Elliott Hughes 81c46fc10f Fix tzdata loading.
Android uses one large file of tzdata, so the "read up to the maximum
possible length of a valid tzfile" code in upstream localtime.c is
broken: there is always data after the current tzfile (even the
last tzfile is followed by the zone.tab data). This patch passes the
exact length through to the read(2) call so we don't over-read, rather
than have to rewrite upstream code that measures back from the "end" of
the tzfile.

The old code failed the existing time.strftime_null_tm_zone test after
updating to tzdata2016g.

Bug: http://b/31848040
Test: time.strftime_null_tm_zone
Change-Id: Iee059b5a8c051bd4952cfd80f02b00d83e489d5e
2016-10-03 12:45:13 -07:00
..
arch-arm Remove remaining big-endian cruft. 2016-09-16 18:53:34 -07:00
arch-arm64 Remove deprecated Android.mk files 2016-05-26 16:41:57 -07:00
arch-common/bionic
arch-mips Remove remaining big-endian cruft. 2016-09-16 18:53:34 -07:00
arch-mips64 Remove deprecated Android.mk files 2016-05-26 16:41:57 -07:00
arch-x86 Clean up 32-bit x86 memset assembler. 2016-08-01 14:00:45 -07:00
arch-x86_64 Remove deprecated Android.mk files 2016-05-26 16:41:57 -07:00
bionic Fix mbsnrtowcs where dst is null. 2016-09-29 17:26:13 -07:00
dns Fix some easy cases of __ANDROID__ versus __BIONIC__. 2016-09-16 18:27:07 -07:00
include Rename __pure, __pure2, and __purefunc. 2016-09-28 12:36:38 -07:00
kernel Update to kernel headers v4.7.2. 2016-08-29 12:07:13 -07:00
malloc_debug Update documentation. 2016-09-28 14:54:06 -07:00
private Fix instances of '#if __LP64__'. 2016-09-15 14:21:28 -07:00
stdio Fix some easy cases of __ANDROID__ versus __BIONIC__. 2016-09-16 18:27:07 -07:00
stdlib Revert "Revert "Remove __sinit and __sdidinit."" 2015-12-05 07:30:59 -08:00
tools Move brillo closer to Android. 2016-08-10 14:08:31 -07:00
tzcode Fix tzdata loading. 2016-10-03 12:45:13 -07:00
upstream-freebsd Move <machine/endian.h> somewhere more private. 2016-05-02 15:44:56 -07:00
upstream-netbsd Merge \"Make it possible to build bionic with -I instead of -isystem.\" 2016-07-22 21:47:47 +00:00
upstream-openbsd Fix instances of '#if __LP64__'. 2016-09-15 14:21:28 -07:00
zoneinfo Update timezone data to 2016g. 2016-09-30 16:49:38 +01:00
Android.bp Update escaping in Android.bp files 2016-09-29 14:37:30 -07:00
Android.mk Rename Android.soong.mk to Android.mk 2016-07-11 16:54:20 -07:00
libc.arm.map Add strtof_l and strtod_l. 2016-09-22 00:44:37 -07:00
libc.arm64.map Add strtof_l and strtod_l. 2016-09-22 00:44:37 -07:00
libc.map.txt Add strtof_l and strtod_l. 2016-09-22 00:44:37 -07:00
libc.mips.map Add strtof_l and strtod_l. 2016-09-22 00:44:37 -07:00
libc.mips64.map Add strtof_l and strtod_l. 2016-09-22 00:44:37 -07:00
libc.x86.map Add strtof_l and strtod_l. 2016-09-22 00:44:37 -07:00
libc.x86_64.map Add strtof_l and strtod_l. 2016-09-22 00:44:37 -07:00
libstdc++.arm.map Correct libstdc++ version 2016-08-01 15:45:42 -07:00
libstdc++.arm64.map Correct libstdc++ version 2016-08-01 15:45:42 -07:00
libstdc++.map.txt Correct libstdc++ version 2016-08-01 15:45:42 -07:00
libstdc++.mips.map Correct libstdc++ version 2016-08-01 15:45:42 -07:00
libstdc++.mips64.map Correct libstdc++ version 2016-08-01 15:45:42 -07:00
libstdc++.x86.map Correct libstdc++ version 2016-08-01 15:45:42 -07:00
libstdc++.x86_64.map Correct libstdc++ version 2016-08-01 15:45:42 -07:00
MODULE_LICENSE_BSD
NOTICE Update NOTICE files. 2016-08-08 12:39:56 -07:00
SYSCALLS.TXT Fix various <sys/socket.h> prototypes. 2016-08-16 13:37:24 -07:00
version_script.txt