summaryrefslogtreecommitdiff
path: root/lib/libc/time
AgeCommit message (Collapse)Author
2016-02-08new sentence, new line;Jason McIntyre
2016-02-08mention mktime, since that is where struct tm is described. ok schwarzeTed Unangst
2015-12-25Simplify allocation logic based on free and realloc's behavior on NULL.mmcc
ok tedu@
2015-12-12Remove calloc cast, give sizeof parens. No functional change.mmcc
2015-11-10Document tzsetwall(). OK schwarze@ jmc@Todd C. Miller
2015-11-01delete old lint ARGSUSED commentsPhilip Guenther
2015-10-24Move #includes from private.h to the .c files that need them, getting rid ofPhilip Guenther
several. Switch from FILENAME_MAX to PATH_MAX (it's for open(), not fopen()). ok deraadt@ tedu@ krw@
2015-10-11Do not insert whitespace into syntax displays, it's just confusing,Ingo Schwarze
except at the one place where it is indeed helpful. Add some missing .Cm macros. Remove some useless escaping, one needless .Xo, and an empty .No. Triggered by a much smaller patch from guenther@. OK jmc@ guenther@
2015-09-19Don't wrap initialized variables: binutils appears to be mishandling themPhilip Guenther
on arm and m88k problems with optind observed by jsg@
2015-09-14use .Va for global variables, and .Vt where the type is includedIngo Schwarze
2015-09-12Wrap <time.h> so that internal calls go direct and symbols not in C99 are weakPhilip Guenther
Add prototypes to localtime.c for offtime(), time2posix(), posix2time() to reduce noise with -Wmissing-prototypes Eliminate unnecessary #includes
2015-04-07Add support for setting tm_zone now that we have the timezone symbol.Todd C. Miller
2015-04-07Remove obsolete timezone() function.Todd C. Miller
Add timezone and daylight symbols for XSI compatibility.
2015-03-14Do not reference tzfile.h since that is an internal header.Todd C. Miller
Be clear that "standard" byte order means big endian. Update struct ttinfo.
2015-03-13delete useless comment about Open GroupTheo de Raadt
2015-02-23Convert a table unsupported by mandoc to a columnated list.Anthony J. Bentley
While here, correctly mark up time_t as a variable type and use prettier double quotes. ok schwarze@
2015-02-16sprinkle braces around multi line statementsTed Unangst
2015-02-16pull scopes without conditionals up into enclosing blockTed Unangst
2015-02-16knf indents to give me a fighting chance at differentiating new blocksTed Unangst
from continuation lines, of which there are many
2015-02-16drop an ansi bomb on the function definitionsTed Unangst
2015-02-10move scheck.c into zic.cTed Unangst
2015-02-10now we're cooking with gas...Ted Unangst
replace difftime with a clever gift from matthew. ok guenther.
2015-02-10matthew suggests a double cast so sf mortgages work right. :)Ted Unangst
2015-02-10remove CMU gtimeTed Unangst
2015-02-09it is not strictly necessary to cast the "return value" of free() to void.Ted Unangst
2015-02-09- register int idays; /* unsigned would be so 2003 */Ted Unangst
+ int idays; /* unsigned would be so 2003 */ register is so 1973
2015-02-09always define ALL_STATE (which, contrary to the name is not about allTed Unangst
states, but rather heap allocating the state) and unifdef the rest
2015-02-09the one true type of time_t is a signed integerTed Unangst
2015-02-09remove INITIALIZE macro and do it the hard way.Ted Unangst
2015-02-09unifdef the rest of the HAVEs and HAVE notsTed Unangst
2015-02-09unifdef have gettext. don't have it, won't have it.Ted Unangst
2015-02-09move include lines around a bitTed Unangst
2015-02-09trim down some of the ifndef redefine madnessTed Unangst
2015-02-09replace homegrown is_digit with correct calls to isdigit()Ted Unangst
2015-02-09move zic and zdump source to appropriate directoriesTed Unangst
2015-02-09stop trying to workaround malloc bugs that have not existed for 20 years.Ted Unangst
ok deraadt
2015-02-09search engines replaced these files a long TIME agoTheo de Raadt
2015-02-09if isascii isn't defined, don't define a retarded versionTed Unangst
2015-02-09greatly simplfy and correct difftime for large time_t. ok guentherTed Unangst
2015-02-09this removes just a few ifdef checks for things that should always be enabled,Ted Unangst
and which we definitely don't want to workaround. no change in the compiled code (yet). some of these, like the first chunk are plain silly. the compiler used to compile asctime has nothing to do with the format strings strftime should support. ok deraadt
2015-01-29Use .Rv where appropriate, and move it to RETURN VALUES;Ingo Schwarze
remove .Tn, and a few minor macro adjustments. Patch from Kaspars at Bankovskis dot net.
2014-12-04simplify wording; triggered by a shorter diff from Kaspars Bankovskis;Ingo Schwarze
OK jmc@ jasper@
2014-11-15Reduce instances of `` '' in manuals.Anthony J. Bentley
troff displays these as typographic quotes, but nroff implementations almost always print them literally, which rarely has the intended effect with modern fonts, even in stock xterm. These uses of `` '' can be replaced either with more semantic alternatives or with Dq, which prints typographic quotes in a UTF-8 locale (but will automatically fall back to `` '' in an ASCII locale). improvements and ok schwarze@
2014-10-11Add UTC support to %Z conversion in strptime().Doug Hogan
Patch from jmates at ee dot washington dot edu. ok otto@, millert@
2014-10-02Fix a crash when there is text after a failed %Z conversion in strptime.Doug Hogan
jmates at ee dot washington dot edu reported this bug and provided a patch. This is a slightly modified version of the patch that only contains the bug fix. ok millert@, otto@
2014-09-08obvious cases of missing .An;Ingo Schwarze
found with the new mandoc(1) MANDOCERR_AN_MISSING warning; no text changes
2014-05-06enh@google reported a warning in crufty y2k code. just delete it.Ted Unangst
ok deraadt stsp
2014-02-13Fix logic bug; we can only infer tm_yday if both tm_mday and tm_monTodd C. Miller
are set. Adapted from a diff from David Higgs. OK krw@
2014-01-24Update C standard reference to C99 and document HISTORY and AUTHORS;Ingo Schwarze
using input from millert@, reminded by and ok jmc@
2014-01-23also document that ctime* and asctime* can return NULL; ok deraadt@, millert@Otto Moerbeek