summaryrefslogtreecommitdiffstats
path: root/lib/libc/time/localtime.c
AgeCommit message (Expand)AuthorFilesLines
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt1-2/+2
2019-05-12Unifdef TM_GMTOFF TM_ZONE USG_COMPAT ALTZONE to make the code more readable.schwarze1-30/+7
2016-09-19gmtime_r() should return NULL on failure, not the struct tm * resultmillert1-3/+2
2016-03-14Remove doaccess variable and access(2) call since this interfers withmestre1-11/+2
2015-12-12Remove calloc cast, give sizeof parens. No functional change.mmcc1-2/+2
2015-11-01delete old lint ARGSUSED commentsguenther1-2/+1
2015-10-24Move #includes from private.h to the .c files that need them, getting rid ofguenther1-2/+7
2015-09-19Don't wrap initialized variables: binutils appears to be mishandling themguenther1-1/+3
2015-09-12Wrap <time.h> so that internal calls go direct and symbols not in C99 are weakguenther1-1/+17
2015-04-07Remove obsolete timezone() function.millert1-2/+2
2015-02-16sprinkle braces around multi line statementstedu1-11/+19
2015-02-16pull scopes without conditionals up into enclosing blocktedu1-38/+29
2015-02-16knf indents to give me a fighting chance at differentiating new blockstedu1-167/+176
2015-02-16drop an ansi bomb on the function definitionstedu1-127/+46
2015-02-10remove CMU gtimetedu1-21/+1
2015-02-09it is not strictly necessary to cast the "return value" of free() to void.tedu1-16/+15
2015-02-09- register int idays; /* unsigned would be so 2003 */tedu1-107/+107
2015-02-09always define ALL_STATE (which, contrary to the name is not about alltedu1-42/+1
2015-02-09the one true type of time_t is a signed integertedu1-35/+11
2015-02-09remove INITIALIZE macro and do it the hard way.tedu1-3/+3
2015-02-09move include lines around a bittedu1-3/+3
2015-02-09replace homegrown is_digit with correct calls to isdigit()tedu1-6/+6
2015-02-09this removes just a few ifdef checks for things that should always be enabled,tedu1-13/+2
2013-04-17add some prototypes, casts, includes, parenthesis, and whatnot totedu1-4/+4
2011-04-25Update to tzcode2011g from elsie.nci.nih.gov.millert1-55/+75
2010-11-30replace a large stack buffer with a malloc call, with help from matthew.tedu1-25/+34
2010-08-23update to tzcode2010k from elsie.nci.nih.gov; OK miod@millert1-23/+24
2008-03-31Update to tzcode 2008a from elsie.nci.nih.govmillert1-11/+18
2007-12-29update to tzcode2007j from elsie.nci.nih.gov; mostly ANSIficationmillert1-66/+86
2007-02-06Update to tzcode2007a. This adds support for 64bit time_t in casemillert1-44/+187
2006-02-18Update to tzcode2006a; primarily just cast and const fixes.millert1-9/+7
2005-08-09Re-add the change from tzcode2005c, this time with an added boundsmillert1-20/+46
2005-08-09Back out a change from tzcode2005c that can cause an infinite loop in mktime().millert1-42/+20
2005-08-09Do not ignore return value of localsub() in localtime_r()millert1-2/+2
2005-08-08zap remaining rcsid.espie1-5/+1
2005-07-05Update to tzcode2005j.millert1-108/+277
2004-10-18Update to tzcode2004e from elsie.nci.nih.govmillert1-18/+54
2004-06-28merge in tzcode2004amillert1-4/+27
2003-10-06Update to tzcode2003c from elsie.nci.nih.govmillert1-4/+4
2003-03-13a few more strlcy; ok from beck & hoderaadt1-6/+6
2002-04-04Minor updates from tzcode2002cmillert1-7/+11
2001-06-27use strlcpy vs strncpy+a[len-1]='\0'. millert@ ok.lebel1-6/+4
2000-04-16sync with ftp://elsie.nci.nih.gov/pub/tzcode2000c.tar.gz, millert@ okd1-4/+15
2000-01-06_THREAD_PRIVATE_* macros changedd1-3/+3
1999-03-09Back out rev 1.7. PCTS 151-2 still passes, and mktime() now correctly returnspjanzen1-8/+1
1999-02-02typod1-2/+2
1999-02-01sync with tzcode1999ad1-24/+12
1998-11-20Add thread-safety to libc, so that libc_r will build (on i386 at least).d1-18/+83
1998-07-11be... slightly more permissive.. but i think this is right, i looked at it for 5 minutesderaadt1-4/+4
1998-07-11do not let :relative paths through (how did i miss this before)deraadt1-2/+2