From owner-freebsd-stable Thu Apr 6 0:47:48 2000 Delivered-To: freebsd-stable@freebsd.org Received: from dt051n0b.san.rr.com (dt051n0b.san.rr.com [204.210.32.11]) by hub.freebsd.org (Postfix) with ESMTP id 7A69537BE74 for ; Thu, 6 Apr 2000 00:47:46 -0700 (PDT) (envelope-from Doug@gorean.org) Received: from gorean.org (doug@master [10.0.0.2]) by dt051n0b.san.rr.com (8.9.3/8.9.3) with ESMTP id AAA29278; Thu, 6 Apr 2000 00:47:22 -0700 (PDT) (envelope-from Doug@gorean.org) Message-ID: <38EC4109.955BF5B@gorean.org> Date: Thu, 06 Apr 2000 00:47:22 -0700 From: Doug Barton Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.72 [en] (X11; U; FreeBSD 5.0-CURRENT-0325 i386) X-Accept-Language: en MIME-Version: 1.0 To: dayton+freebsd-stable@overx.com Cc: Vivek Khera , freebsd-stable@freebsd.org Subject: Re: dufus.[...] daily run output -- summer time References: <14568.45040.795743.139682@kci.kciLink.com> <200004031510.LAB21697@radagast.wizard.net> <14568.47470.412562.32287@kci.kciLink.com> <86ya6v59om.fsf@polo.overx.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Soren Dayton wrote: > > Vivek Khera writes: > > > >>>>> "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. > > Also, I noticed that cron doesn't handle the leap-hour case. Well, it does handle it, basically by ignoring it. This is not an oversight however, it's essentially by design. When you start asking yourself questions about what exactly it should do in those various situations, you can quickly cause yourself a brain bleed. Much better to handle the situation more appropriately by carefully scheduling your cron jobs. Doug -- "So, the cows were part of a dream that dreamed itself into existence? Is that possible?" asked the student incredulously. The master simply replied, "Mu." To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message