NetBSD/lib/libc/time
rillig 8d3736f16d localtime.c: fix theoretical syntax error
If NetBSD were built with -DHAVE_MALLOC_ERRNO=0, the previous code would
have resulted in a compile error due to the extra '}'.  Fix this by
copying the upstream code.

No binary change.
2022-03-25 19:34:04 +00:00
..
CONTRIBUTING welcome to tzcode-2022a 2022-03-22 17:48:39 +00:00
LICENSE Welcome to 2017c: 2017-10-24 17:38:17 +00:00
Makefile welcome to tzcode-2022a 2022-03-22 17:48:39 +00:00
Makefile.inc ALL_STATE was bought by STATE_FARM. 2019-04-04 19:42:39 +00:00
NEWS welcome to tzcode-2022a 2022-03-22 17:48:39 +00:00
README Merge tzcode2020b (except we keep tzsetwall(3) for now for compatibility, 2020-10-09 18:38:48 +00:00
SECURITY Change to code and documentation from 2021a -> 2021e 2021-10-22 14:26:04 +00:00
Theory merge 2017a 2017-03-11 18:23:14 +00:00
asctime.c fix mergeo 2019-01-27 02:40:49 +00:00
calendars Welcome to 2017c: 2017-10-24 17:38:17 +00:00
checktab.awk
ctime.3 Remove duplicate tm_isdst. Fixes PR misc/56419 for HEAD. 2021-09-28 06:45:08 +00:00
difftime.c Change to code and documentation from 2021a -> 2021e 2021-10-22 14:26:04 +00:00
getdate.3 Remove useless macro. 2018-02-11 13:28:49 +00:00
getdate.c Add bunch of missing includes of namespace.h in libc 2018-01-04 20:57:28 +00:00
leapseconds.awk
localtime.c localtime.c: fix theoretical syntax error 2022-03-25 19:34:04 +00:00
offtime.3 Add offtime_r to the NAME section 2017-10-25 19:01:25 +00:00
private.h welcome to tzcode-2022a 2022-03-22 17:48:39 +00:00
strftime.3 Merge tzcode2020b (except we keep tzsetwall(3) for now for compatibility, 2020-10-09 18:38:48 +00:00
strftime.c Change to code and documentation from 2021a -> 2021e 2021-10-22 14:26:04 +00:00
strptime.3 fix typo. From Evil_Bob. 2019-02-24 11:51:05 +00:00
strptime.c Correct range for ISO week conversion 2020-09-21 15:31:54 +00:00
theory.html welcome to tzcode-2022a 2022-03-22 17:48:39 +00:00
time2posix.3 Fix the escape used for em dash 2017-10-29 06:07:48 +00:00
tz-art.html Change to code and documentation from 2021a -> 2021e 2021-10-22 14:26:04 +00:00
tz-how-to.html Merge tzcode2020b (except we keep tzsetwall(3) for now for compatibility, 2020-10-09 18:38:48 +00:00
tz-link.html welcome to tzcode-2022a 2022-03-22 17:48:39 +00:00
tzcode2netbsd
tzfile.5 Change to code and documentation from 2021a -> 2021e 2021-10-22 14:26:04 +00:00
tzselect.8 welcome to tzcode-2022a 2022-03-22 17:48:39 +00:00
tzselect.ksh welcome to tzcode-2022a 2022-03-22 17:48:39 +00:00
tzset.3 Sync with 2019b: 2019-07-03 15:50:16 +00:00
version welcome to tzcode-2022a 2022-03-22 17:48:39 +00:00
zdump.8 Change to code and documentation from 2021a -> 2021e 2021-10-22 14:26:04 +00:00
zdump.c welcome to tzcode-2022a 2022-03-22 17:48:39 +00:00
zic.8 Change to code and documentation from 2021a -> 2021e 2021-10-22 14:26:04 +00:00
zic.c welcome to tzcode-2022a 2022-03-22 17:48:39 +00:00

README

README for the tz distribution

"Where do I set the hands of the clock?" -- Les Tremayne as The King
"Oh that--you can set them any place you want." -- Frank Baxter as The Scientist
					(from the Bell System film "About Time")

The Time Zone Database (called tz, tzdb or zoneinfo) contains code and
data that represent the history of local time for many representative
locations around the globe.  It is updated periodically to reflect
changes made by political bodies to time zone boundaries, UTC offsets,
and daylight-saving rules.

See <https://www.iana.org/time-zones/repository/tz-link.html> or the
file tz-link.html for how to acquire the code and data.  Once acquired,
read the comments in the file 'Makefile' and make any changes needed
to make things right for your system, especially if you are using some
platform other than GNU/Linux.  Then run the following commands,
substituting your desired installation directory for "$HOME/tzdir":

	make TOPDIR=$HOME/tzdir install
	$HOME/tzdir/usr/bin/zdump -v America/Los_Angeles

See the file tz-how-to.html for examples of how to read the data files.

This database of historical local time information has several goals:

 * Provide a compendium of data about the history of civil time that
   is useful even if not 100% accurate.

 * Give an idea of the variety of local time rules that have existed
   in the past and thus may be expected in the future.

 * Test the generality of the local time rule description system.

The information in the time zone data files is by no means authoritative;
fixes and enhancements are welcome.  Please see the file CONTRIBUTING
for details.

Thanks to these Time Zone Caballeros who've made major contributions to the
time conversion package: Keith Bostic; Bob Devine; Paul Eggert; Robert Elz;
Guy Harris; Mark Horton; John Mackin; and Bradley White.  Thanks also to
Michael Bloom, Art Neilson, Stephen Prince, John Sovereign, and Frank Wales
for testing work, and to Gwillim Law for checking local mean time data.
Thanks in particular to Arthur David Olson, the project's founder and first
maintainer, to whom the time zone community owes the greatest debt of all.
None of them are responsible for remaining errors.

-----

This file is in the public domain, so clarified as of 2009-05-17 by
Arthur David Olson.  The other files in this distribution are either
public domain or BSD licensed; see the file LICENSE for details.