From: Charles A. Roelli Date: Wed, 8 Nov 2017 19:51:48 +0000 (+0100) Subject: Further workaround for faulty localtime() under macOS 10.6 X-Git-Tag: emacs-26.0.91~353 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=98288ecaffbc0947ec3193088172ea85ad5e42a5;p=emacs.git Further workaround for faulty localtime() under macOS 10.6 * lisp/org/org-clock.el (org-clock--oldest-date): Fix an issue when compiling on macOS 10.6 with a western time zone (a continuation of Bug#27736). In particular, see: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27736#74 and the first commit that attempted to work around this problem, "Workaround for faulty localtime() under macOS 10.6", bd49b6f1 of 2017-09-30. --- diff --git a/lisp/org/org-clock.el b/lisp/org/org-clock.el index 9dc501500b1..69e199ea27f 100644 --- a/lisp/org/org-clock.el +++ b/lisp/org/org-clock.el @@ -487,7 +487,7 @@ to add an effort property.") "10\\.6\\.[[:digit:]]" (shell-command-to-string "sw_vers -productVersion")) - (<= m -1034058203136)) + (<= m -1034058203135)) (ignore-errors (decode-time (list m 0))))))) (low (funcall dichotomy