emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 98288ec: Further workaround for faulty localtime(


From: Charles A. Roelli
Subject: [Emacs-diffs] emacs-26 98288ec: Further workaround for faulty localtime() under macOS 10.6
Date: Wed, 8 Nov 2017 14:49:51 -0500 (EST)

branch: emacs-26
commit 98288ecaffbc0947ec3193088172ea85ad5e42a5
Author: Charles A. Roelli <address@hidden>
Commit: Charles A. Roelli <address@hidden>

    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.
---
 lisp/org/org-clock.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org/org-clock.el b/lisp/org/org-clock.el
index 9dc5015..69e199e 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]