From owner-freebsd-current@FreeBSD.ORG Mon Jan 2 14:00:58 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D287316A41F for ; Mon, 2 Jan 2006 14:00:58 +0000 (GMT) (envelope-from matthias.andree@gmx.de) Received: from mail.dt.e-technik.uni-dortmund.de (krusty.dt.E-Technik.uni-dortmund.de [129.217.163.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3703543D48 for ; Mon, 2 Jan 2006 14:00:57 +0000 (GMT) (envelope-from matthias.andree@gmx.de) Received: from localhost (localhost [127.0.0.1]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id 9867244128; Mon, 2 Jan 2006 15:00:56 +0100 (CET) Received: from mail.dt.e-technik.uni-dortmund.de ([127.0.0.1]) by localhost (krusty [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 06540-08; Mon, 2 Jan 2006 15:00:55 +0100 (CET) Received: from m2a2.dyndns.org (p5091360C.dip0.t-ipconnect.de [80.145.54.12]) by mail.dt.e-technik.uni-dortmund.de (Postfix) with ESMTP id DFD52440A8; Mon, 2 Jan 2006 15:00:53 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by merlin.emma.line.org (Postfix) with ESMTP id E2CB32007AE; Mon, 2 Jan 2006 15:00:52 +0100 (CET) Received: from m2a2.dyndns.org ([127.0.0.1]) by localhost (m2a2.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 07981-01; Mon, 2 Jan 2006 15:00:50 +0100 (CET) Received: by merlin.emma.line.org (Postfix, from userid 500) id C2B4C20155D; Mon, 2 Jan 2006 15:00:50 +0100 (CET) From: Matthias Andree To: Poul-Henning Kamp In-Reply-To: <73774.1136109554@critter.freebsd.dk> (Poul-Henning Kamp's message of "Sun, 01 Jan 2006 10:59:14 +0100") References: <73774.1136109554@critter.freebsd.dk> X-PGP-Key: http://home.pages.de/~mandree/keys/GPGKEY.asc Date: Mon, 02 Jan 2006 15:00:50 +0100 Message-ID: User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: amavisd-new at dt.e-technik.uni-dortmund.de Cc: current@freebsd.org Subject: Re: FreeBSD handles leapsecond correctly X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jan 2006 14:00:58 -0000 Poul-Henning Kamp writes: > http://phk.freebsd.dk/misc/leapsecond.txt > > Notice how CLOCK_REALTIME recycles the 1136073599 second. Well, it is in accordance with POSIX, but that doesn't mean its "correct". How does the POSIX "consistency" babble, and particularly the FreeBSD 5 or 6 implementation, make sure that "make(1)" or other application doesn't see a file created on 2005-12-31T23:59:60.1Z as older than a file created 0.9 seconds earlier, on 2005-12-31T23:59:59.2Z, because of the time warp caused by POSIX's demand to ignore leap seconds? Are there plans to add monotonous TAI clock interfaces to FreeBSD 7 so we have an alternative to the differential CLOCK_MONOTONIC and the jumpy CLOCK_REALTIME? Is any reader of this message aware of efforts to standardize such a TAI clock? The FreeBSD 6 zoneinfo stuff seems to be ready for leap seconds, if only someone uses -L leapseconds with zic. It appears some systems (SUSE Linux) have been doing such for a subdirectory right/ (i. e. TZ=right/Europe/Berlin) for half a decade now. -- Matthias Andree