Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | the one true type of time_t is a signed integer | 2015-02-09 | 4 | -60/+19 | ||
| | ||||||
* | remove INITIALIZE macro and do it the hard way. | 2015-02-09 | 2 | -36/+4 | ||
| | ||||||
* | unifdef the rest of the HAVEs and HAVE nots | 2015-02-09 | 1 | -30/+1 | ||
| | ||||||
* | unifdef have gettext. don't have it, won't have it. | 2015-02-09 | 1 | -10/+1 | ||
| | ||||||
* | move include lines around a bit | 2015-02-09 | 5 | -19/+17 | ||
| | ||||||
* | trim down some of the ifndef redefine madness | 2015-02-09 | 1 | -90/+10 | ||
| | ||||||
* | replace homegrown is_digit with correct calls to isdigit() | 2015-02-09 | 2 | -10/+7 | ||
| | ||||||
* | move zic and zdump source to appropriate directories | 2015-02-09 | 5 | -3991/+0 | ||
| | ||||||
* | stop trying to workaround malloc bugs that have not existed for 20 years. | 2015-02-09 | 4 | -120/+37 | ||
| | | | | ok deraadt | |||||
* | search engines replaced these files a long TIME ago | 2015-02-09 | 2 | -1195/+0 | ||
| | ||||||
* | if isascii isn't defined, don't define a retarded version | 2015-02-09 | 1 | -4/+1 | ||
| | ||||||
* | greatly simplfy and correct difftime for large time_t. ok guenther | 2015-02-09 | 1 | -55/+5 | ||
| | ||||||
* | this removes just a few ifdef checks for things that should always be enabled, | 2015-02-09 | 5 | -65/+8 | ||
| | | | | | | | | | 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 | |||||
* | Use .Rv where appropriate, and move it to RETURN VALUES; | 2015-01-29 | 1 | -11/+11 | ||
| | | | | | remove .Tn, and a few minor macro adjustments. Patch from Kaspars at Bankovskis dot net. | |||||
* | simplify wording; triggered by a shorter diff from Kaspars Bankovskis; | 2014-12-04 | 1 | -7/+7 | ||
| | | | | OK jmc@ jasper@ | |||||
* | Reduce instances of `` '' in manuals. | 2014-11-15 | 1 | -3/+4 | ||
| | | | | | | | | | | | | 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@ | |||||
* | Add UTC support to %Z conversion in strptime(). | 2014-10-11 | 1 | -3/+10 | ||
| | | | | | | Patch from jmates at ee dot washington dot edu. ok otto@, millert@ | |||||
* | Fix a crash when there is text after a failed %Z conversion in strptime. | 2014-10-02 | 1 | -6/+7 | ||
| | | | | | | | | 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@ | |||||
* | obvious cases of missing .An; | 2014-09-08 | 1 | -3/+4 | ||
| | | | | | found with the new mandoc(1) MANDOCERR_AN_MISSING warning; no text changes | |||||
* | enh@google reported a warning in crufty y2k code. just delete it. | 2014-05-06 | 3 | -44/+3 | ||
| | | | | ok deraadt stsp | |||||
* | Fix logic bug; we can only infer tm_yday if both tm_mday and tm_mon | 2014-02-13 | 1 | -2/+2 | ||
| | | | | are set. Adapted from a diff from David Higgs. OK krw@ | |||||
* | Update C standard reference to C99 and document HISTORY and AUTHORS; | 2014-01-24 | 1 | -5/+24 | ||
| | | | | using input from millert@, reminded by and ok jmc@ | |||||
* | also document that ctime* and asctime* can return NULL; ok deraadt@, millert@ | 2014-01-23 | 1 | -2/+6 | ||
| | ||||||
* | document return values; ok deraadt@, jmc@ | 2014-01-21 | 1 | -1/+12 | ||
| | ||||||
* | obvious .Pa fixes; found with mandocdb(8) | 2014-01-21 | 1 | -3/+3 | ||
| | ||||||
* | most obvious unsigned char casts for ctype | 2013-11-24 | 1 | -3/+3 | ||
| | | | | ok jca krw ingo | |||||
* | more library history | 2013-07-17 | 1 | -2/+7 | ||
| | | | | | facts checked by sobrado@ style tweaks and ok jmc@ | |||||
* | Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze | 2013-06-05 | 6 | -20/+20 | ||
| | ||||||
* | add some prototypes, casts, includes, parenthesis, and whatnot to | 2013-04-17 | 1 | -4/+4 | ||
| | | | | silence some warnings. | |||||
* | Properly handle "%%" and "%N" where N is not a supported escape. | 2013-01-20 | 1 | -1/+3 | ||
| | | | | This is consistent with strftime(3) behavior. OK stsp@ | |||||
* | Fix verbiage to make it clear that on success the return value of | 2013-01-05 | 1 | -3/+3 | ||
| | | | | | | strftime() is the number of characters printed. POSIX verbiage verified by jmc@, ok jmc@. | |||||
* | Update to tzcode2012f. Now that tzcode is in git there are no moe | 2012-09-13 | 14 | -91/+56 | ||
| | | | | SCCS ids. No actual code changes. | |||||
* | RFC updates: | 2012-08-18 | 1 | -3/+3 | ||
| | | | | | | 5322 obsoletes 2822 5321 obsoletes 821 and 2821 6409 obsoletes 2476 and 4409 | |||||
* | Update to tzcode2012a from munnari.oz.au | 2012-03-01 | 4 | -20/+36 | ||
| | ||||||
* | Fix several manpage titles, from Lawrence Teo. | 2012-02-26 | 1 | -3/+3 | ||
| | | | | ok dcoppa@ jmc@ schwarze@. | |||||
* | POSIX indicates that some fields should be computed even if not | 2012-01-16 | 1 | -2/+68 | ||
| | | | | | | explicitly set. We can compute tm_yday, tm_wday, tm_mon and tm_mday based on the values that were specified if possible. Some logic borrowed from localtime.c. OK espie@ deraadt@ | |||||
* | Hook wcsftime(3) to the build; committing on behalf of espie | 2011-10-16 | 1 | -3/+3 | ||
| | ||||||
* | put in code for wcstfime, as discussed with millert@ and stsp@ (and tested | 2011-10-10 | 2 | -0/+605 | ||
| | | | | by ajacoutot@, thx), to be linked in and activated alongside wscanf... | |||||
* | Stop defining XPG4_1994_04_09. | 2011-10-10 | 1 | -2/+1 | ||
| | | | | | | | | | | | | | | | | As kettenis@ pointed at, http://pubs.opengroup.org/onlinepubs/009695399/functions/strftime.html has the following: The Open Group Corrigendum U033/8 is applied. The %V conversion specifier is changed from "Otherwise, it is week 53 of the previous year, and the next week is week 1" to "Otherwise, it is the last week of the previous year, and the next week is week 1". In effect, strftime(3) with the "%V" format will now return "52" instead of "53" for days in January before the first Monday, when January 1st falls on a Friday, Saturday, or Sunday. ok kettenis@ millert@ | |||||
* | after some thought, i think it unlikely that we will need to specify | 2011-09-16 | 2 | -8/+8 | ||
| | | | | | | | | | | a revision number for ISO 8601; in addition, the revision number makes the text unwieldy when discussing the standard in a casual manner. therefore change the macro from -8601-4 to simply -8601, which will output "ISO 8601". i'll get kristaps or ingo to make the change upstream to mandoc. discussed with/ok millert | |||||
* | use .St here for ISO 8601 references; ok millert | 2011-09-16 | 2 | -9/+21 | ||
| | ||||||
* | RFC-2822 -> RFC 2822 | 2011-09-16 | 1 | -3/+3 | ||
| | ||||||
* | only one leap second is permitted, not two; from guenther | 2011-08-31 | 2 | -8/+8 | ||
| | ||||||
* | Enable the knob to dynamically allocate (large) state structures. | 2011-07-01 | 1 | -1/+2 | ||
| | ||||||
* | Update to tzcode2011g from elsie.nci.nih.gov. | 2011-04-25 | 5 | -69/+165 | ||
| | ||||||
* | Fix typo, %F pattern corresponds to %Y-%m-%d (the ISO 8601 date format), | 2011-01-19 | 1 | -2/+2 | ||
| | | | | | not %Y/%m/%d. Found while debugging geo/gpx-viewer. ok millert@ jasper@ | |||||
* | - missing leading '.' before 'It'. | 2011-01-19 | 1 | -3/+3 | ||
| | | | | spotted by landry@ | |||||
* | replace a large stack buffer with a malloc call, with help from matthew. | 2010-11-30 | 1 | -25/+34 | ||
| | | | | | ok deraadt [passed upstream to the tz list as well] | |||||
* | tweak previous; | 2010-11-08 | 1 | -3/+3 | ||
| | ||||||
* | Add %F, %g, %G, %u, %z (extended) and %Z. | 2010-11-08 | 2 | -9/+334 | ||
| | | | | | | | This is mostly a sync with NetBSD. tested in a bulk build by landry@ ok millert@ |