[local-time-devel] Issue with local-time::%get-current-time as called by local-time:now

Phil Hargett phil at haphazardhouse.net
Mon Feb 21 23:15:31 UTC 2011


If you check out this paste:

http://paste.lisp.org/display/119885

You'll see inconsistent behavior of (local-time:now) when running on CCL for x86 Mac (version 1.6).

Any chance you can just drop the #+ccl variants in src/local-time.lisp for %get-current-time, and just use the same default behavior based on get-universal-time?

Basically, this workaround to a LispWorks bug is triggering a bug in CCL (I think) by making the external function gettimeofday inconsistently available...and I am thus unable to use the LOCAL-TIME package on all the CLs that I would like.  So the attempt to leverage CCL's FFI in LOCAL-TIME is preventing my package's code from working consistently.

Otherwise, thanks for a very useful package, BTW.

:)






More information about the local-time-devel mailing list