NetBSD Problem Report #46810

From www@NetBSD.org  Fri Aug 17 20:59:38 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id A2C2563C3D5
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 17 Aug 2012 20:59:38 +0000 (UTC)
Message-Id: <20120817205938.0D02363B882@www.NetBSD.org>
Date: Fri, 17 Aug 2012 20:59:38 +0000 (UTC)
From: bjs@NetBSD.org
Reply-To: bjs@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: erlang:localtime_to_universaltime/2 doesn't work in UTC timezone
X-Send-Pr-Version: www-1.0

>Number:         46810
>Category:       pkg
>Synopsis:       erlang:localtime_to_universaltime/2 doesn't work in UTC timezone
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 17 21:00:00 +0000 2012
>Originator:     Blair Sadewitz
>Release:        6.99.10
>Organization:
>Environment:
NetBSD ludwig 6.99.10 NetBSD 6.99.10 (XEN3_DOMU) #0: Wed Aug 15 17:02:46 UTC 2012  builds@b6.netbsd.org:/home/builds/ab/HEAD/amd64/201208151500Z-obj/home/builds/ab/HEAD/src/sys/arch/amd64/compile/XEN3_DOMU amd64

>Description:
see:

"Commit 1eef765 introduced regression (conditional _always_ evaluates
to true) in which erlang:localtime_to_universaltime/2 stopped working
on systems configured with timezone without DST (i.e. UTC) on *BSD
platforms:



Indeed, this is the case.

http://www.openbsd.org/cgi-bin/cvsweb/ports/lang/erlang/patches/patch-erts_emulator_beam_erl_time_sup_c?rev=1.3
>How-To-Repeat:
1> erlang:localtime_to_universaltime({{2012,1,1},{0,0,0}}, true).
** exception error: bad argument"
>Fix:
apply fix.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.