[Top][All Lists]

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

bug#27736: OSX 10.6.8: Building from master branch fails.

From: Paul Eggert
Subject: bug#27736: OSX 10.6.8: Building from master branch fails.
Date: Tue, 27 Mar 2018 14:19:22 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

>     (<= m -1034058203136)
>     (<= m -1034058203135))
Unfortunately these numbers don't fit into a 30-bit integer and so they run afoul of a portability issue, namely, that files byte-compiled on a 64-bit Emacs should run on a 32-bit Emacs and vice versa. I noticed this problem when preparing a patch to catch this sort of issue. To fix this particular instance of the problem, I attempted to migrate the localtime workaround into editfns.c (so that the fix is more-general, and is not limited to org-clock), by installing the attached patches into master. Please give them a try, since I don't have easy access to Mac OS X. I'm still a bit fuzzy on exactly which timestamps cause Mac OS X localtime to go belly-up (is it timezone dependent?), so quite possibly the magic numbers in these patches need to be adjusted a bit so that the code will work in any timezone from TZ=AAA-24:59:59 to TZ=ZZZ24:59:59; please let me know.

Attachment: 0001-Update-from-Gnulib.patch
Description: Text Data

Attachment: 0002-Avoid-using-unportable-integer-in-org-clock.patch
Description: Text Data

reply via email to

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