Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Support TZ transition times < 00:00:00. | Paul Eggert | 2013-12-17 | 1 | -2/+5 |
| | | | | | | | | | | This is needed for version-3 tz-format files; it supports time stamps past 2037 for America/Godthab (the only entry in the tz database for which this change is relevant). * manual/time.texi (TZ Variable): Document transition times from -167:59:59 through -00:00:01. * time/tzset.c (tz_rule): Time of day is now signed. (__tzset_parse_tz): Parse negative time of day. | ||||
* | Allow strptime read outputs from strftime. Fixes bug 4772. | Ondřej Bílka | 2013-12-04 | 2 | -11/+10 |
| | |||||
* | Make strptime %Z consistent between doc and code. Fixes bug 14876 | Ondřej Bílka | 2013-10-25 | 2 | -1/+6 |
| | |||||
* | Replace alloca in __tzfile_read by malloc. Fixes bug 15670 | Ondřej Bílka | 2013-10-20 | 1 | -18/+8 |
| | |||||
* | Use (void) in no-arguments function definitions. | Joseph Myers | 2013-06-08 | 2 | -2/+2 |
| | |||||
* | Avoid use of "register" as optimization hint. | Joseph Myers | 2013-06-07 | 3 | -7/+7 |
| | |||||
* | Properly handle %W in strptime | Andreas Schwab | 2013-06-05 | 2 | -2/+3 |
| | |||||
* | Add #include <stdint.h> for uint[32|64]_t usage (except installed headers). | Ryan S. Arnold | 2013-05-16 | 2 | -0/+2 |
| | |||||
* | Consistently use ISSPACE to check for whitespace | Siddhesh Poyarekar | 2013-04-23 | 3 | -3/+46 |
| | | | | | | | | Resolves #14888. This only really manifests itself when there are no spaces between format specifiers, which is not allowed by POSIX, but is allowed by the glibc implementation. | ||||
* | Accept leading and trailing spaces in getdate input string | Siddhesh Poyarekar | 2013-04-10 | 2 | -0/+46 |
| | | | | | | | | | | Fixes #15346. The POSIX description of getdate allows for extra spaces in the getdate input string. __getdate_r uses strptime internally, which works fine with extra spaces between format strings (and hence within an input string) but not with leading and trailing spaces. So we trim off the leading and trailing spaces before we pass it on to strptime. | ||||
* | Sort Versions files | Andreas Jaeger | 2013-02-17 | 1 | -4/+4 |
| | |||||
* | Remove lots of inline keywords. | Roland McGrath | 2013-02-07 | 1 | -1/+1 |
| | |||||
* | * time/tzfile.c: Include stdint.h for SIZE_MAX. | Maxim Kuvyrkov | 2013-01-26 | 1 | -0/+1 |
| | |||||
* | Update copyright notices with scripts/update-copyrights. | Joseph Myers | 2013-01-02 | 39 | -44/+39 |
| | |||||
* | Add script to update copyright notices and reformat some to facilitate its use. | Joseph Myers | 2013-01-01 | 1 | -2/+1 |
| | |||||
* | * time/sys/time.h (settimeofday): Do not mark TV argument | Jeff Law | 2012-12-03 | 1 | -1/+1 |
| | | | | as __nonnull. | ||||
* | [BZ #157] Remove include/stub-tag.h for good. | Thomas Schwinge | 2012-11-04 | 8 | -8/+0 |
| | |||||
* | Fix some typos in comments. | Marek Polacek | 2012-08-25 | 1 | -2/+2 |
| | |||||
* | Switch gettimeofday from INTUSE to libc_hidden_proto. | Roland McGrath | 2012-05-24 | 1 | -6/+5 |
| | |||||
* | mktime: avoid signed integer overflow | Paul Eggert | 2012-05-23 | 1 | -4/+4 |
| | | | | | * time/mktime.c (__mktime_internal): Do not mishandle the case where diff == INT_MIN. | ||||
* | mktime: simplify computation of average | Paul Eggert | 2012-05-23 | 1 | -3/+1 |
| | | | | | * time/mktime.c (ranged_convert): Use new time_t_avg function instead of rolling our own (probably-slower) code. | ||||
* | mktime: do not assume signed right shift propagates sign bit | Paul Eggert | 2012-05-23 | 1 | -6/+12 |
| | | | | | | | * time/mktime.c (isdst_differ): New static function. (__mktime_internal): No need to normalize tm_isdst now. (__mktime_internal, not_equal_tm): Use isdst_differ to compare tm_isdst values. | ||||
* | mktime: merge another wrapv change from gnulib | Paul Eggert | 2012-05-23 | 1 | -1/+1 |
| | | | | | * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics from some compilers. | ||||
* | mktime: remove incorrect attempt at unusual arithmetics | Paul Eggert | 2012-05-23 | 1 | -9/+6 |
| | | | | | | | | * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove. The code didn't really work on such machines anyway. (TYPE_MINIMUM): Assume two's complement. (twos_complement_arithmetic): Verify that long_int and time_t are two's complement (or unsigned, in the latter case). | ||||
* | mktime: check signed shifts on long_int and time_t, too | Paul Eggert | 2012-05-23 | 1 | -3/+5 |
| | | | | | | * time/mktime.c (SHR): Check that shifts work as desired on the types long_int and time_t too, as SHR is used on such types. | ||||
* | mktime: do not assume 'long' is wide enough | Paul Eggert | 2012-05-23 | 1 | -12/+18 |
| | | | | | | | | | * time/mktime.c (verify): Move decl up. (long_int): New type. (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it, to remove assumption in the code that 'long' is wide enough to store year values. This assumption is not true on x32 and on some non-glibc platforms. | ||||
* | mktime: merge wrapv change from gnulib | Paul Eggert | 2012-05-23 | 1 | -25/+90 |
| | | | | | | | | * time/mktime.c (WRAPV): New macro. (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions. (guess_time_tm, __mktime_internal): Do not assume that signed integer overflow wraps around; modern compilers generate code where this assumption is no longer valid. | ||||
* | Update copyright years for time/mktime.c | H.J. Lu | 2012-05-22 | 1 | -1/+1 |
| | |||||
* | mktime: merge comment-quoting-style change from gnulib | Paul Eggert | 2012-05-22 | 1 | -3/+3 |
| | |||||
* | time/mktime.c (compile-command): Add "-I." | Paul Eggert | 2012-05-22 | 1 | -1/+1 |
| | |||||
* | mktime: merge mktime-internal.h change from gnulib | Paul Eggert | 2012-05-22 | 1 | -0/+1 |
| | |||||
* | mktime: merge time_r change from gnulib | Paul Eggert | 2012-05-22 | 1 | -2/+1 |
| | |||||
* | mktime: merge DEBUG change from gnulib | Paul Eggert | 2012-05-22 | 1 | -0/+1 |
| | |||||
* | mktime: merge <sys/types.h> change from gnulib | Paul Eggert | 2012-05-22 | 1 | -1/+0 |
| | |||||
* | mktime: merge HAVE_CONFIG_H change from gnulib | Paul Eggert | 2012-05-22 | 1 | -1/+1 |
| | |||||
* | Fold copyright years | H.J. Lu | 2012-05-16 | 1 | -1/+1 |
| | |||||
* | BZ#10375: Configure magic to use -U_FORTIFY_SOURCE if needed. | Roland McGrath | 2012-05-16 | 1 | -5/+1 |
| | |||||
* | Remove __snseconds_t | H.J. Lu | 2012-05-15 | 1 | -1/+1 |
| | |||||
* | Fix daylight time change for the US | Ian Wienand | 2012-05-09 | 1 | -6/+12 |
| | | | | | | [BZ #14080] * time/tzset.c (__tzset_parse_tz): Update default rules for daylight time changes in the Energy Policy Act of 2005. | ||||
* | Add __snseconds_t and __SNSECONDS_T_TYPE | H.J. Lu | 2012-04-11 | 1 | -1/+1 |
| | |||||
* | Testsuite #include fixes. | Thomas Schwinge | 2012-04-02 | 1 | -0/+2 |
| | |||||
* | Use time_t on ays, rem, y and yg in __offtime | H.J. Lu | 2012-03-16 | 1 | -2/+2 |
| | |||||
* | Remove distribute variable from Makefiles | Ulrich Drepper | 2012-03-07 | 1 | -2/+1 |
| | |||||
* | Fix ISO C11 definitions in time.h | Ulrich Drepper | 2012-02-25 | 1 | -11/+8 |
| | |||||
* | Replace FSF snail mail address with URLs. | Paul Eggert | 2012-02-09 | 39 | -117/+78 |
| | |||||
* | Remove miscellaneous __STDC__ conditionals. | Joseph Myers | 2012-01-30 | 1 | -6/+2 |
| | |||||
* | Remove pre-ISO C support | Ulrich Drepper | 2012-01-07 | 2 | -40/+40 |
| | | | | No more __const. | ||||
* | Implement timespec_get | Ulrich Drepper | 2012-01-01 | 4 | -15/+76 |
| | |||||
* | Fix one typo | Ulrich Drepper | 2011-12-21 | 1 | -1/+1 |
| | |||||
* | Check values from TZ file header | Ulrich Drepper | 2011-12-17 | 1 | -9/+44 |
| |