[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
pguyot@REDACTED
Fri Oct 31 18:52:15 CET 2008
Le 31 oct. 08 à 12:00, erlang-bugs-request@REDACTED a écrit :
> Date: Fri, 31 Oct 2008 08:46:19 +0900
> From: Kenji Rikitake <kenji.rikitake@REDACTED>
> Subject: [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
> To: erlang-patches@REDACTED, erlang-bugs@REDACTED
> Message-ID: <20081030234619.GA31298@REDACTED>
> Content-Type: text/plain; charset="us-ascii"
>
> The previous patch I posted on September 18, 2008 had a bug in the new
> BIF erlang:now_utc/0 which I added. This patch is a revised one for
> R12B4, now also tested on a non-leap-second system (Ubuntu 8.04 LTS
> Desktop).
I have just noticed that httpd_util:rfc1123_date/1 does not work at
all on FreeBSD 7.0 with erlang R12B4 unpatched.
1> httpd_util:rfc1123_date({{2008, 10, 31}, {18, 47, 0}}).
** exception error: bad argument
in function erlang:universaltime_to_localtime/1
called as erlang:universaltime_to_localtime({{1969,12,31},
{23,59,59}})
in call from calendar:local_time_to_universal_time_dst/1
in call from httpd_util:rfc1123_date/1
Is it a symtom of the bug you fixed?
Paul
More information about the erlang-bugs
mailing list