Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Stop exposing <sys/localedef.h> and various symbols internal to the libc | 2016-05-23 | 1 | -2/+2 | |
| | | | | | | | locale implementation: _{Current,Default}*Locale, __[mn]locale_changed, __mb_len_max_runtime ok millert@ schwarze@ deraadt@ | ||||
* | Wrap <time.h> so that internal calls go direct and symbols not in C99 are weak | 2015-09-12 | 1 | -1/+2 | |
| | | | | | | Add prototypes to localtime.c for offtime(), time2posix(), posix2time() to reduce noise with -Wmissing-prototypes Eliminate unnecessary #includes | ||||
* | Add support for setting tm_zone now that we have the timezone symbol. | 2015-04-07 | 1 | -4/+5 | |
| | |||||
* | move include lines around a bit | 2015-02-09 | 1 | -3/+3 | |
| | |||||
* | 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@ | ||||
* | 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@ | ||||
* | 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@ | ||||
* | 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@ | ||||
* | Add %F, %g, %G, %u, %z (extended) and %Z. | 2010-11-08 | 1 | -5/+231 | |
| | | | | | | | This is mostly a sync with NetBSD. tested in a bulk build by landry@ ok millert@ | ||||
* | First pass at removing clauses 3 and 4 from NetBSD licenses. | 2008-06-26 | 1 | -8/+1 | |
| | | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@ | ||||
* | zap remaining rcsid. | 2005-08-08 | 1 | -4/+1 | |
| | | | | | | Kill old files that are no longer compiled. okay theo | ||||
* | signed vs unsigned char casting... | 2004-09-15 | 1 | -2/+2 | |
| | |||||
* | Stop parsing the buffer after an appropriate number of digits; from NetBSD | 2004-01-20 | 1 | -22/+19 | |
| | | | | OK otto@ and miod@ | ||||
* | Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | 2002-02-16 | 1 | -3/+3 | |
| | |||||
* | Kill very odd use of __CONCAT: completely unneeded, obfuscated, and | 2001-08-23 | 1 | -2/+2 | |
| | | | | | | not even ANSI (concatenation does not produce a valid token). Found out by heko@. | ||||
* | fix %p matching. checked by angelos. closes PR1612 | 2001-01-08 | 1 | -5/+7 | |
| | |||||
* | month/weekday names are case insensitive; jpo@EasternGraphics.com | 1998-04-25 | 1 | -31/+31 | |
| | |||||
* | Make %Y override an earlier %y (%y stuff gets delayed due to century specs). | 1998-03-17 | 1 | -1/+2 | |
| | |||||
* | %C influences %y regardless of ordering. This becomes a bit tricky | 1998-03-15 | 1 | -20/+40 | |
| | | | | | due to recursion so we do all the work in _strptime which takes an extra flag specifying whether or not to initialize some statics. | ||||
* | Fix %m, %I, %S, %y, %C, and %j conversions. Fixes by nakayosh@kcn.or.jp | 1998-03-15 | 1 | -12/+19 | |
| | | | | and myself. Some bugs noted by woods@most.weird.com. | ||||
* | + strptime, from netbsd | 1998-02-04 | 1 | -0/+371 | |