]> git.eshelyaron.com Git - emacs.git/commit
decode-time: allow bignum years
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 1 Jan 2019 19:33:10 +0000 (11:33 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 1 Jan 2019 19:33:37 +0000 (11:33 -0800)
commit227343947f083e1094ebd3770f774b480beb2590
tree54c05f6690abbe94c80426c36ebe64231b275da7
parent355b1c3cb91a226d1f58098944542142eddccb60
decode-time: allow bignum years

* src/timefns.c (TM_YEAR_BASE):
Now a constant as it need not be a macro.
(Fdecode_time): Do not signal an overflow merely because the
Gregorian year number does not fix in a fixnum (which can
happen on hosts with 64-bit time_t and with 32-bit int and
EMACS_INT).
src/timefns.c