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:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 17 21:00:00 +0000 2012
>Closed-Date:    Wed Jan 27 16:05:03 +0000 2021
>Last-Modified:  Wed Jan 27 16:05:03 +0000 2021
>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.

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: triaxx@NetBSD.org
State-Changed-When: Wed, 27 Jan 2021 16:05:03 +0000
State-Changed-Why:
erlang is now Erlang/OTP 23 [erts-11.1.6] and this bug has been fixed.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: gnats-precook-prs,v 1.4 2018/12/21 14:20:20 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.