summaryrefslogtreecommitdiff
path: root/libc/stdtime
Commit message (Collapse)AuthorAgeFilesLines
* Unsplit vendor import of tzcode 2010nvendor/tzcode/unsplitPhilip Paeps2022-08-168-3802/+0
| | | | | | | | | | Historically, to work around CVS limitations, imports on the tzcode vendor branch were split into subdirectories, which were then merged to their respective counterparts in contrib. In the Git era, this split is unnecessary and adds more work. Undo the split for the most recent vendor import of tzcode 2010n to prepare for the vendor import of tzcode 2022c.
* Vendor import of tzcode2010n:vendor/tzcode/tzcode2010nEdwin Groothuis2010-10-261-2/+5
| | | | | | | | | | | | | | | | | | | | | | | * Makefile Change LOCALTIME default from "Factory" to "GMT"; do not compile "factory" file (but keep it in the distribution). * Theory Remove reference to "Factory" zone. * localtime.c Initialize ttinfo structures filled by tzparse (thanks to Ravindra for reporting a valgrind warning). * zic.c Fix generation of POSIX strings for zones with rules using "weekday<=n" forms of dates (thanks to Lei Liu for finding the problem). Also, limit output for non-POSIX-specificable zones defined to follow the same rules every year. (Note that no zones of either of the above types appear in the distribution; these changes cater to add-on zones). Obtained from: ftp://elsie.nci.nih.gov/pub/ Notes: svn path=/vendor/tzcode/dist/; revision=214400 svn path=/vendor/tzcode/tzcode2010n/; revision=214403; tag=vendor/tzcode/tzcode2010n
* Vendor import of tzcode2010lvendor/tzcode/tzcode2010lEdwin Groothuis2010-09-091-16/+10
| | | | | Notes: svn path=/vendor/tzcode/dist/; revision=212353 svn path=/vendor/tzcode/tzcode2010l/; revision=212354; tag=vendor/tzcode/tzcode2010l
* Import of tzcode2010c:vendor/tzcode/tzcode2010cEdwin Groothuis2010-03-021-5/+5
| | | | | | | | localtime.c - more core dump avoidance work Notes: svn path=/vendor/tzcode/dist/; revision=204570 svn path=/vendor/tzcode/tzcode2010c/; revision=204571; tag=vendor/tzcode/tzcode2010c
* Vendor import of tzcode2010a:vendor/tzcode/tzcode2010aEdwin Groothuis2010-02-172-9/+19
| | | | | | | | | | | | | | | | | | | | * asctime.c - Set errno to EINVAL and return "??? ??? ?? ??:??:?? ????\n" if asctime_r is called with a NULL struct tm pointer. (Note that asctime_r is called by ctime_r and asctime; asctime is called by ctime.) * localtime.c - Set errno to EINVAL and return WRONG if time1 is called with a NULL struct tm pointer; avoid dereference if a NULL struct tm pointer is passed to timelocal, timegm, or timeoff. (Note that time1 is called by mktime, timegm, and timeoff; mktime is called by timelocal.) Obtained from: ftp://elsie.nci.nih.gov/pub/ Notes: svn path=/vendor/tzcode/dist/; revision=204001 svn path=/vendor/tzcode/tzcode2010a/; revision=204002; tag=vendor/tzcode/tzcode2010a
* Vendor import of tzcode2009t:vendor/tzcode/tzcode2009tEdwin Groothuis2009-12-221-2/+2
| | | | | | | | | | | | | | | | Unused: - Updates to tz-link.html and tz-art.htm - Typo in tzfile.5.txt zic: - Fix URL / reference to Calendrical Calculations: Third Edition libc/stdtime: - Fix typo in tzfile.5 Notes: svn path=/vendor/tzcode/dist/; revision=200830 svn path=/vendor/tzcode/tzcode2009t/; revision=200831; tag=vendor/tzcode/tzcode2009t
* Vendor import of tzcode2009hvendor/tzcode/tzcode2009hEdwin Groothuis2009-05-271-1/+1
| | | | | | | | | | - Clarify the license for the tzcode: public domain Obtained from: ftp://elsie.nci.nih.gov/pub/ Notes: svn path=/vendor/tzcode/dist/; revision=192887 svn path=/vendor/tzcode/tzcode2009h/; revision=192888; tag=vendor/tzcode/tzcode2009h
* Vendor import of tzcode2009e.vendor/tzcode/tzcode2009eEdwin Groothuis2009-05-208-463/+1194
| | | | | | | | Obtained from: ftp://elsie.nci.nih.gov/pub/ Notes: svn path=/vendor/tzcode/dist/; revision=192437 svn path=/vendor/tzcode/tzcode2009e/; revision=192438; tag=vendor/tzcode/tzcode2009e
* Cleanup of vendor/tzcode/dist, these files don't exist in the latestEdwin Groothuis2008-09-272-257/+0
| | | | | | | imported sources. Notes: svn path=/vendor/tzcode/dist/; revision=183403
* Flatten the dist tree of vendor/tzcodeEdwin Groothuis2008-09-278-0/+3321
Notes: svn path=/vendor/tzcode/dist/; revision=183400