cvs commit: ports/lang/erlang Makefile ports/lang/erlang/files patch-erts_emulator_beam_erl__time__sup.c patch-lib_stdlib_src_calendar.erl

Jimmy Olgeni olgeni at FreeBSD.org
Mon Nov 17 13:30:17 PST 2008


olgeni      2008-11-17 21:30:16 UTC

  FreeBSD ports repository

  Modified files:
    lang/erlang          Makefile 
  Added files:
    lang/erlang/files    patch-erts_emulator_beam_erl__time__sup.c 
                         patch-lib_stdlib_src_calendar.erl 
  Log:
  Fix an issue related to mktime(3) returning -1 when tm_isdst is true but the timestamp cannot be represented. Previously, -1 was interpreted as a valid result leading erlang:localtime_to_universaltime/2 to return {{1969, 12, 31}, {23, 59, 59}}.
  
  A detailed explanation may be found here:
  
    http://www.erlang.org/pipermail/erlang-bugs/2008-November/001077.html
  
  Obtained from:  Paul Guyot <pguyot at kallisys.net>
  
  Revision  Changes    Path
  1.125     +1 -1      ports/lang/erlang/Makefile
  1.1       +15 -0     ports/lang/erlang/files/patch-erts_emulator_beam_erl__time__sup.c (new)
  1.1       +29 -0     ports/lang/erlang/files/patch-lib_stdlib_src_calendar.erl (new)


More information about the cvs-all mailing list