Re: [Ntp] Antw: Re: Antw: [EXT] Timescales, leapseconds and smearing
Martin Burnicki <martin.burnicki@meinberg.de> Wed, 09 December 2020 22:44 UTC
Return-Path: <martin.burnicki@meinberg.de>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BEC733A1263 for <ntp@ietfa.amsl.com>; Wed, 9 Dec 2020 14:44:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=meinberg.de
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NFKjniBWgtZp for <ntp@ietfa.amsl.com>; Wed, 9 Dec 2020 14:44:43 -0800 (PST)
Received: from server1a.meinberg.de (server1a.meinberg.de [176.9.44.212]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 99ED63A1241 for <ntp@ietf.org>; Wed, 9 Dec 2020 14:44:43 -0800 (PST)
Received: from srv-kerioconnect.py.meinberg.de (unknown [193.158.22.2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by server1a.meinberg.de (Postfix) with ESMTPSA id 2D01A71C02FF for <ntp@ietf.org>; Wed, 9 Dec 2020 23:44:40 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=meinberg.de; s=dkim; t=1607553880; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4NygQgAplzLZhxs4m62+A80tBmUXo1+t2Pdxnqe4U90=; b=oT2wc7U6EHdpbzNVbELDtEikPyvFst72DulM7rvvm+aQe+3II5eoQ8oM5MR3flbN+lZyfU +8nMqpn+tDUSuBkTJFIgGftOS5hTurKHud0y8Mobjg4YDyzcNfxUFJqQL57S5r5LSzuvi7 elyiSUZMwcuDuyZ0nvNPNj7HV486cFhRKMaNrjUSuz9HukoynMOrIvM/EQ75nw6+1yYVc9 nSOQzGZijovwvwVCi7kg5C2tpdbJzj4u6NIdRmfwh7dwJ+mqqtQC+ja6TNXwl2KpaVNLCu Sursy9/4mcH6c8rEhEWKJEYGonVI+UALEfx0ZByzWCovB61QNy4pF2IHzDmXqQ==
X-Footer: bWVpbmJlcmcuZGU=
Received: from localhost ([127.0.0.1]) by srv-kerioconnect.py.meinberg.de with ESMTPSA (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) for ntp@ietf.org; Wed, 9 Dec 2020 23:44:36 +0100
To: ntp@ietf.org
References: <X86sVykHUqlkXP96@roeckx.be> <5FCF4DC8020000A10003D5FB@gwsmtp.uni-regensburg.de> <X89eBhhdUDijLVpL@roeckx.be> <5FD075F4020000A10003D67F@gwsmtp.uni-regensburg.de> <CANCZdfqFFRhBxchO14PFBQeZSZpF=7Qk0jOOC51SeD5g+g6aHg@mail.gmail.com>
From: Martin Burnicki <martin.burnicki@meinberg.de>
Organization: Meinberg Funkuhren GmbH & Co. KG, Bad Pyrmont, Germany
Message-ID: <930a7596-c7c0-eb75-6c01-2a149e7da44d@meinberg.de>
Date: Wed, 09 Dec 2020 23:44:36 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0
MIME-Version: 1.0
In-Reply-To: <CANCZdfqFFRhBxchO14PFBQeZSZpF=7Qk0jOOC51SeD5g+g6aHg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/NG6Hym5RVnqq27H4jYzIp3FCzuE>
Subject: Re: [Ntp] Antw: Re: Antw: [EXT] Timescales, leapseconds and smearing
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 09 Dec 2020 22:44:46 -0000
Warner Losh wrote: > Can you be more specific? I only see: > > struct tm { > int tm_sec; /* Seconds (0-60) */ > int tm_min; /* Minutes (0-59) */ > int tm_hour; /* Hours (0-23) */ > int tm_mday; /* Day of the month (1-31) */ > int tm_mon; /* Month (0-11) */ > int tm_year; /* Year - 1900 */ > int tm_wday; /* Day of the week (0-6, Sunday = 0) */ > int tm_yday; /* Day in the year (0-365, 1 Jan = 0) */ > int tm_isdst; /* Daylight saving time */ > }; > > > time_t encodes 23:59:60 Dec 31 and 0:0:0 Jan 1 with the same number > (when converted from struct tm, POSIX is actually silent on how to > encode the leap second because it doesn't acknowledge the leap second > exists). POSIX ignores leap seconds. This fiction of 60 here is woefully > incomplete. struct tm isn't really used for anything but presentation... > These issues have been extensively litigated, discussed and explained in > the LEAPSECONDS list. Right. If "someone" happens to put a "60" into the seconds field, the user can see that this specifies an *inserted* leap second. I wonder how that structure could be used to indicate a *deleted* leap second, of which I hope it will never occur. ;-) Martin -- Martin Burnicki Senior Software Engineer MEINBERG Funkuhren GmbH & Co. KG Email: martin.burnicki@meinberg.de Phone: +49 5281 9309-414 Linkedin: https://www.linkedin.com/in/martinburnicki/ Lange Wand 9, 31812 Bad Pyrmont, Germany Amtsgericht Hannover 17HRA 100322 Geschäftsführer/Managing Directors: Günter Meinberg, Werner Meinberg, Andre Hartmann, Heiko Gerstung Websites: https://www.meinberg.de https://www.meinbergglobal.com Training: https://www.meinberg.academy
- Re: [Ntp] Timescales, leapseconds and smearing Kurt Roeckx
- [Ntp] Timescales, leapseconds and smearing Kurt Roeckx
- Re: [Ntp] Timescales, leapseconds and smearing Kurt Roeckx
- Re: [Ntp] Timescales, leapseconds and smearing Steve Allen
- Re: [Ntp] Timescales, leapseconds and smearing Steve Allen
- Re: [Ntp] Timescales, leapseconds and smearing Hal Murray
- Re: [Ntp] Timescales, leapseconds and smearing Miroslav Lichvar
- Re: [Ntp] Timescales, leapseconds and smearing Miroslav Lichvar
- [Ntp] Antw: [EXT] Timescales, leapseconds and sme… Ulrich Windl
- Re: [Ntp] Antw: [EXT] Timescales, leapseconds and… Kurt Roeckx
- Re: [Ntp] Timescales, leapseconds and smearing Steve Allen
- Re: [Ntp] Timescales, leapseconds and smearing Steve Allen
- Re: [Ntp] Antw: [EXT] Timescales, leapseconds and… Martin Burnicki
- Re: [Ntp] Timescales, leapseconds and smearing Martin Burnicki
- Re: [Ntp] Timescales, leapseconds and smearing Martin Burnicki
- Re: [Ntp] Timescales, leapseconds and smearing Martin Burnicki
- Re: [Ntp] Antw: [EXT] Timescales, leapseconds and… Kurt Roeckx
- Re: [Ntp] Timescales, leapseconds and smearing Kurt Roeckx
- Re: [Ntp] Timescales, leapseconds and smearing Steve Allen
- Re: [Ntp] Antw: [EXT] Timescales, leapseconds and… Ulrich Windl
- [Ntp] Antw: Re: Antw: [EXT] Timescales, leapsecon… Ulrich Windl
- [Ntp] Antw: [EXT] Re: Timescales, leapseconds and… Ulrich Windl
- [Ntp] Antw: [EXT] Re: Timescales, leapseconds and… Ulrich Windl
- Re: [Ntp] Antw: Re: Antw: [EXT] Timescales, leaps… Warner Losh
- Re: [Ntp] Antw: Re: Antw: [EXT] Timescales, leaps… Kurt Roeckx
- Re: [Ntp] Antw: Re: Antw: [EXT] Timescales, leaps… Kurt Roeckx
- Re: [Ntp] Antw: Re: Antw: [EXT] Timescales, leaps… Martin Burnicki
- Re: [Ntp] Antw: Re: Antw: [EXT] Timescales, leaps… Ulrich Windl
- Re: [Ntp] Antw: Re: Antw: [EXT] Timescales, leaps… Ulrich Windl