summaryrefslogtreecommitdiffstats
path: root/contrib/tzcode/stdtime/localtime.c
Commit message (Collapse)AuthorAgeFilesLines
* MFC r274365:ngie2014-12-051-10/+2
| | | | Revert WiP to contrib/tzcode accidentally committed with r274364
* MFC r274364:ngie2014-12-051-2/+10
| | | | | | | | | | | | | | Add baud rate support to telnet(1) This implements part of RFC-2217 It's based off a patch originally written by Sujal Patel at Isilon, and contributions from other Isilon employees. PR: 173728 Phabric: D995 Reviewed by: markj, markm Sponsored by: EMC / Isilon Storage Division
* Fix a memory leak in tzload().trociny2011-10-271-0/+1
| | | | | | Reported by: valgrind Reviewed by: kib MFC after: 3 days
* Do not overallocate on the stack. Threaded code might use custom stackkib2011-09-191-43/+69
| | | | | | | | | | size. Reported by: many Tested by: Jeremie Le Hen <jeremie@le-hen.org> (previous version) Reviewed by: jilles Approved by: re (bz) MFC after: 2 weeks
* Sync code with tzcode2010medwin2010-10-271-22/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.) * more core-avoidance work * Change to set timezone and altzone based on time types with greatest transition times (for the benefit of Asia/Seoul). zic.8: * Warning about case-sensitivity of names, but not of abbrevations zic.c: * Conditionally output extra types with most-recently-use offsets last (for use by systems with pre-2011 versions of localtime.c, helping to ensure that globals "altzone and "timezone" get set correctly). The code has been running for nearly four weeks on my laptop running FreeBSD 8.1 without a problem. MFC after: 1 month
* Copy lib/libc/stdtime to contrib/tzcode/stdtime for the proper splitedwin2010-02-251-0/+2249
of contributed code and FreeBSD specific code.
OpenPOWER on IntegriCloud