platform_bionic/libc/tzcode
Elliott Hughes 31fc69f67f Fix tzalloc(nullptr) and add a test.
This works (by reading /etc/localtime) on NetBSD, but not on Android
since we have no such file. Fix that by using our equivalent system
property instead.

Also s/time zone/timezone/ in documentation and comments. We've always
been inconsistent about this (as is upstream in code comments and
documentation) but it seems especially odd now we expose a _type_ that
spells it "timezone" to talk of "time zone" even as we're describing
that type and its associated functions.

Bug: https://github.com/chronotope/chrono/issues/499
Test: treehugger
Change-Id: I142995a3ab4deff1073a0aa9e63ce8eac850b93d
2023-06-22 09:51:01 -07:00
..
asctime.c Update tzcode from 2022a to 2023a. 2023-04-28 16:52:53 +01:00
bionic.cpp Fix tzalloc(nullptr) and add a test. 2023-06-22 09:51:01 -07:00
difftime.c Bump tzcode from 2016g to 2022a*. 2022-06-07 09:59:16 +01:00
localedef.h Sync strptime.c with upstream. 2022-12-12 20:56:12 +00:00
localtime.c Fix tzalloc(nullptr) and add a test. 2023-06-22 09:51:01 -07:00
private.h Update tzcode from 2022a to 2023a. 2023-04-28 16:52:53 +01:00
strftime.c Update tzcode from 2022a to 2023a. 2023-04-28 16:52:53 +01:00
strptime.c Expose tzalloc()/localtime_rz()/mktime_z()/tzfree(). 2023-06-16 08:10:47 -07:00
tzfile.h Update tzcode from 2022a to 2023a. 2023-04-28 16:52:53 +01:00