aboutsummaryrefslogtreecommitdiff
path: root/contrib/tzcode
Commit message (Collapse)AuthorAgeFilesLines
* - set progname for use in usage()Eitan Adler2011-12-081-0/+1
| | | | | | | | | | PR: bin/162908 Submitted by: Oleg Ginzburg <olevole@olevole.ru> Approved by: sbruno@ MFC after: 3 days Notes: svn path=/head/; revision=228342
* Fix a memory leak in tzload().Mikolaj Golub2011-10-271-0/+1
| | | | | | | | | Reported by: valgrind Reviewed by: kib MFC after: 3 days Notes: svn path=/head/; revision=226828
* Do not overallocate on the stack. Threaded code might use custom stackKonstantin Belousov2011-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 Notes: svn path=/head/; revision=225677
* Sync code with tzcode2010mEdwin Groothuis2010-10-274-29/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=214411
* Make mandoc/mdocml happy.Edwin Groothuis2010-06-151-7/+7
| | | | | | | Submitted by: Uli(?) via gmane.comp.time.tz Notes: svn path=/head/; revision=209201
* Update GRANDPARENTED text to match the contents of tzdata/factory r19879.Ed Maste2010-05-031-1/+1
| | | | | | | | | | | This eliminates "warning: time zone abbreviation differs from POSIX" on installworld to an empty filesystem. Reviewed by: edwin MFC after: 1 week Notes: svn path=/head/; revision=207590
* Remove non-contributed code.Edwin Groothuis2010-02-259-1976/+0
| | | | Notes: svn path=/head/; revision=204336
* Copy lib/libc/stdtime to contrib/tzcode/stdtime for the proper splitEdwin Groothuis2010-02-2517-0/+5595
| | | | | | | of contributed code and FreeBSD specific code. Notes: svn path=/head/; revision=204333
* From contrib/tzcode:Edwin Groothuis2010-02-252-11/+0
| | | | | | | | | | | The Makefiles are leftovers from the copies and should live in usr.sbin/zic/* From usr.sbin/zic: The sources are from a vendor contributed source, therefore should live in contrib/tzcode/zic. Notes: svn path=/head/; revision=204332
* Copy usr.sbin/zic to contrib/tzcode/zic for the proper split ofEdwin Groothuis2010-02-2513-0/+5057
contributed code and FreeBSD specific code. Notes: svn path=/head/; revision=204302