]> git.eshelyaron.com Git - emacs.git/commit
Fix time-add/time-sub validity checking
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 20 Aug 2019 01:02:59 +0000 (18:02 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 20 Aug 2019 01:05:15 +0000 (18:05 -0700)
commit2197ea89bf5afabc4c52a6499b13e92ae6621554
tree642c9ebf5c962305fedf69d4f14b95e3a8d8532d
parent50dc4ca8d02a466a7236765edf83ae7cfb02d74c
Fix time-add/time-sub validity checking

* src/timefns.c (time_arith): Check the first arg for
validity even if the second arg is not finite.
* test/src/timefns-tests.el (time-arith-tests): Test this.
src/timefns.c
test/src/timefns-tests.el