[erlang-bugs] leap-second-enabled FreeBSD doesn't work right with R12B4 erts/emulator/beam/erl_time_sup.c; correction patch included
Sun Sep 14 06:00:43 CEST 2008
On Sat, Sep 13, 2008 at 8:12 PM, Kenji Rikitake <> wrote:
> mktime() certainly is, but timegm() isn't, AFAIK.
My mistake. I confused the local-vs-UTC time functions.
time2posix(3) and posix2time(3) come from Olson's tz library, which
according to Wikipedia, is pretty widely used, so they seem like
they should be reasonably portable. Anywhere that doesn't have them
probably isn't leap second aware anyways. They're also present in
FreeBSD, NetBSD, and OpenBSD's cvs trees from over 10 years ago, so
they're hardly recent additions either.
More information about the erlang-bugs