From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0416F139695 for ; Fri, 12 May 2017 02:42:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 443BEE0CC2; Fri, 12 May 2017 02:42:49 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 21980E0CBF for ; Fri, 12 May 2017 02:42:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1EFF83416BE for ; Fri, 12 May 2017 02:42:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 846867457 for ; Fri, 12 May 2017 02:42:46 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1494544393.1ebef0d7a38ec0a9635418b75c3aabb564c1577e.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: src/rc/ X-VCS-Repository: proj/openrc X-VCS-Files: src/rc/rc-misc.c X-VCS-Directories: src/rc/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 1ebef0d7a38ec0a9635418b75c3aabb564c1577e X-VCS-Branch: master Date: Fri, 12 May 2017 02:42:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d33668fe-1dad-41bb-bd63-f786c5dcd7ae X-Archives-Hash: f0437459b379afaa9d7da5b1cb9299b2 commit: 1ebef0d7a38ec0a9635418b75c3aabb564c1577e Author: William Hubbs gmail com> AuthorDate: Thu May 11 23:13:13 2017 +0000 Commit: William Hubbs gentoo org> CommitDate: Thu May 11 23:13:13 2017 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=1ebef0d7 fix to_time_t to honor dst src/rc/rc-misc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rc/rc-misc.c b/src/rc/rc-misc.c index 1a98537c..a6cc788e 100644 --- a/src/rc/rc-misc.c +++ b/src/rc/rc-misc.c @@ -469,6 +469,7 @@ time_t to_time_t(char *timestring) breakdown.tm_hour = hour; breakdown.tm_min = min; breakdown.tm_sec = sec; + breakdown.tm_isdst = -1; result = mktime(&breakdown); } return result;