From owner-freebsd-stable Mon Apr 3 10: 9:53 2000 Delivered-To: freebsd-stable@freebsd.org Received: from storm.FreeBSD.org.uk (storm.freebsd.org.uk [194.242.139.170]) by hub.freebsd.org (Postfix) with ESMTP id EB98F37BBA3 for ; Mon, 3 Apr 2000 10:09:38 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (hak.nat.Awfulhak.org [172.31.0.12]) by storm.FreeBSD.org.uk (8.9.3/8.9.3) with ESMTP id SAA36754; Mon, 3 Apr 2000 18:09:33 +0100 (BST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id SAA05528; Mon, 3 Apr 2000 18:09:22 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200004031709.SAA05528@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Vivek Khera Cc: freebsd-stable@FreeBSD.ORG, brian@hak.lan.Awfulhak.org Subject: Re: dufus.[...] daily run output -- summer time In-Reply-To: Message from Vivek Khera of "Mon, 03 Apr 2000 11:31:58 EDT." <14568.47470.412562.32287@kci.kciLink.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 03 Apr 2000 18:09:21 +0100 From: Brian Somers Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > >>>>> "DRT" == Donald R Tyson writes: > > DRT> At least the 4.0-STABLE side, despite the error reported by > DRT> several on this list, managed to get the time right. > > The error is in the date program's ability to tell you the time X > hours ago, when that X is during the leap-ahead hour. I consider this > a bug in date, as my example showed. The time exists, date just can't > tell you what it is. This is a bug in the way the date -v option interacts with mktime() - it doesn't handle a -1 return. I'll fix this soon (along with some other related problems). -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message