[erlang-bugs] Revised version: Re: leap-second-enabled FreeBSD doesn't work right with R12B4 erts/emulator/beam/erl_time_sup.c; correction patch included

Paul Guyot <>
Sat Nov 1 07:07:59 CET 2008

Le 1 nov. 08 à 01:42, Kenji Rikitake a écrit :

> Paul (and the erlang-bugs list):
> I had found the similar one (as I remember),
> but the {{1969,12,31}...} part of
> calendar:local_time_to_universal_time_dst/1
> looks quite strange to me.
> I cannot test the code since my 7.0R system
> is TAI-based (zoneinfo compiled with LEAPSECOND flag).
> How did you compile the program?
> Mine is with the port (/usr/ports/lang/erlang),
> with stock gcc-4.2.1 and HiPE disabled.
> (I experienced a loading error of BEAM files
> so I disabled the HiPE.)
> Also I suggest you to test
> erlang:localtime_to_universaltime/1
> and
> erlang:universaltime_to_localtime/1
> for whether they provide symmetric results.

I looked at the problem further, and the crash I have is definitely  
not related to Erlang's lack of support for leap seconds.


More information about the erlang-bugs mailing list