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

Re: Bug in encode-universal-time?



At  9:07 PM 6/13/94 +0000, Christopher J. Vogt wrote:
>I'm having a little trouble with encode-universal-time.  Sometimes it
>seems to return a bogus value.  I'm runing version 2.0.1 on a Quadra 700.
>When I run the code fragment below, at random times it will print out
>18446743950619618816 as the encoded time.  Help?
>
>(loop for i from 1 for j = (encode-universal-time 0 0 0 9 6 (+ 94 1900) 0)
>          when (not (= j 2980108800)) do (format t "~%~d: ~d" i j))

This is a known bug. Ask for "encode-time-patch" to get the fix.
Christopher, I've sent it to you under separate cover.

-Bill