Fix calendar:local_time_to_universal_time_dst/2 bug of return value -1 from mktime

Kenji Rikitake kenji.rikitake@REDACTED
Wed Feb 10 06:13:04 CET 2010


I am struggling to merge FreeBSD port patches into my GitHub repository.
This one is a long-standing fix which is proposed and fixed by
Paul Guyot. I do not claim any credit for this patch.
This patch has been tested for at least a year in FreeBSD port of Erlang (lang/erlang).

git fetch git://github.com/jj1bdx/otp.git local_to_univ
http://github.com/jj1bdx/otp/commit/1461281981f9e9f5542138b6807cbed603a38d99

Patch originally created by Paul Guyot <pguyot@REDACTED>
Submitted at the following erlang-bugs article and the attachment containing this patch:
http://www.erlang.org/pipermail/erlang-bugs/2008-November/001077.html
http://www.erlang.org/pipermail/erlang-bugs/attachments/20081101/c1bab4d9/attachment.obj

Regards,
Kenji Rikitake


More information about the erlang-patches mailing list