summaryrefslogtreecommitdiff
path: root/lib/libc/time
AgeCommit message (Collapse)Author
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
2014-01-21document return values; ok deraadt@, jmc@Otto Moerbeek
2014-01-21obvious .Pa fixes; found with mandocdb(8)Ingo Schwarze
2013-11-24most obvious unsigned char casts for ctypeTheo de Raadt
ok jca krw ingo
2013-07-17more library historyIngo Schwarze
facts checked by sobrado@ style tweaks and ok jmc@
2013-06-05Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarzeTed Unangst
2013-04-17add some prototypes, casts, includes, parenthesis, and whatnot toTed Unangst
silence some warnings.
2013-01-20Properly handle "%%" and "%N" where N is not a supported escape.Todd C. Miller
This is consistent with strftime(3) behavior. OK stsp@
2013-01-05Fix verbiage to make it clear that on success the return value ofKenneth R Westerback
strftime() is the number of characters printed. POSIX verbiage verified by jmc@, ok jmc@.
2012-09-13Update to tzcode2012f. Now that tzcode is in git there are no moeTodd C. Miller
SCCS ids. No actual code changes.
2012-08-18RFC updates:Jason McIntyre
5322 obsoletes 2822 5321 obsoletes 821 and 2821 6409 obsoletes 2476 and 4409
2012-03-01Update to tzcode2012a from munnari.oz.auTodd C. Miller