Received: by mail.netbsd.org (Postfix, from userid 605) id 703C714A4B3; Tue, 8 Nov 2011 18:37:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 5B77C14A4C4 for ; Tue, 8 Nov 2011 18:37:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at NetBSD.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.NetBSD.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id n8TrP5lYlRBf for ; Tue, 8 Nov 2011 18:37:32 +0000 (UTC) Received: from cvs.netbsd.org (cvs.NetBSD.org [IPv6:2001:4f8:3:7:2e0:81ff:fe30:95bd]) by mail.netbsd.org (Postfix) with ESMTP id 6693114A4B3 for ; Tue, 8 Nov 2011 18:37:32 +0000 (UTC) Received: by cvs.netbsd.org (Postfix, from userid 500) id 41305175DD; Tue, 8 Nov 2011 18:37:32 +0000 (UTC) MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Date: Tue, 8 Nov 2011 13:37:32 -0500 From: "Christos Zoulas" Subject: CVS commit: src/lib/libc/time To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20111108183732.41305175DD@cvs.netbsd.org> Sender: source-changes-owner@NetBSD.org List-Id: source-changes.NetBSD.org Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Christos Zoulas" Mail-Followup-To: source-changes-d@NetBSD.org Module Name: src Committed By: christos Date: Tue Nov 8 18:37:32 UTC 2011 Modified Files: src/lib/libc/time: localtime.c Log Message: Change the way that we compute the time when we fall in the dst gap: instead of supplying just the high bound and thus losing minutes and seconds, add the DST offset to the struct tm (since we know we are going to move ahead since we fell in the gap), and try again. To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64 src/lib/libc/time/localtime.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.