From owner-freebsd-bugs Mon Mar 30 05:53:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA05811 for freebsd-bugs-outgoing; Mon, 30 Mar 1998 05:53:59 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from lsd.relcom.eu.net (ache@lsd.relcom.eu.net [193.125.27.73]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA05801 for ; Mon, 30 Mar 1998 05:53:57 -0800 (PST) (envelope-from ache@lsd.relcom.eu.net) Received: (from ache@localhost) by lsd.relcom.eu.net (8.8.8/8.8.8) id RAA02203; Mon, 30 Mar 1998 17:53:05 +0400 (MSD) (envelope-from ache) Message-ID: <19980330175304.22851@nagual.pp.ru> Date: Mon, 30 Mar 1998 17:53:04 +0400 From: =?koi8-r?B?4c7E0sXKIP7F0s7P1w==?= To: Bruce Evans , helbig@Informatik.BA-Stuttgart.DE Cc: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/6164 Mail-Followup-To: Bruce Evans , helbig@Informatik.BA-Stuttgart.DE, freebsd-bugs@FreeBSD.ORG References: <199803301316.XAA29255@godzilla.zeta.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: <199803301316.XAA29255@godzilla.zeta.org.au>; from bde@zeta.org.au on Mon, Mar 30, 1998 at 11:16:08PM +1000 Organization: Biomechanoid Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, Mar 30, 1998 at 11:16:08PM +1000, Bruce Evans wrote: > mktime() happens to handle nonexistent times in a convenient way (by > failing; it's not clear what else it could do). I think there are more What do you think about simutaneous increasing local and utc times until mktime() stops failing? What we need to get is new offset and it will remains the same even after 6 hours beyond zone change. I.e. I suggest not mktime(local) - mktime(utc) but mktime(local + 6h) - mktime(utc + 6h). -- Andrey A. Chernov http://www.nagual.pp.ru/~ache/ MTH/SH/HE S-- W-- N+ PEC>+ D A a++ C G>+ QH+(++) 666+>++ Y To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message