From owner-freebsd-standards@freebsd.org Sun May 20 18:06:15 2018 Return-Path: Delivered-To: freebsd-standards@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BEF1BEEA1E3 for ; Sun, 20 May 2018 18:06:15 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-yb0-x234.google.com (mail-yb0-x234.google.com [IPv6:2607:f8b0:4002:c09::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5CCFF68E1A for ; Sun, 20 May 2018 18:06:15 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: by mail-yb0-x234.google.com with SMTP id i13-v6so4358423ybl.4 for ; Sun, 20 May 2018 11:06:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=LG1QGHOD/4LQ88oBj732sNqno1dD5RfeRb8dp8caSLo=; b=hEwZN32q2ZUiznS7UJJxyNpe0oMFZ7VNTgnJCCvQmq8HubqYjArFlLFRBpvTAwIn1t 0O+nDKs9wFcq3CXS5E2U4OntXXz5l4u0rrtnCWPBzDRy5OtTwHKV6AFWQadDbFsufNCL Ullb6uJ2/8+AJ4jKxeZzjWf3bSW/WlHKyvVvU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=LG1QGHOD/4LQ88oBj732sNqno1dD5RfeRb8dp8caSLo=; b=d891nIeNNs2faM0IWIQ3q9ENZxz7H0P89TNqDRhHcm9ErnkOqvTlLBTqTj2m25f0XX fggjZZnc4hILw9FsV35mySg7jvYoOktdvJeaKR+Dt7JuFyR0ZZ5wdvpf3GQpw0e3Avio HtjM8EZwQ4BP5HpWumeOSlDjE5XLcI6Eh3jf1vPmlyrkqsXBMorynm9UapgVv0uk3cqq 2Z3naeA4WOuegjBI8koVC4HSOI1GWp1l+C95KfJkk+Z6Ht/Q5m26tWIhq9PHt72Ut+k6 7C2ZgrAYp15v5xrg+rN7D+A0O8BxitP/RZMbm5W0gDspxXdEglvNypVpvDKVFdANZUZI 2trg== X-Gm-Message-State: ALKqPwcIKwLsqIJ1RMIoMKWDL85KJzIxx5Os1t2XQ3kX3fTlXJ5htD+h 9qJ2bGV0PgJGHWmOnoIP26qZg7mT8gqSd2CNKPEKggd0 X-Google-Smtp-Source: AB8JxZphq0LZIGiagWEzHMh+hhHH+jmJBpdAWK5dCwl5u18fgM5hwz7mhyr3LfqoZ3Y7zPQ7crLZGff0Afuc6wcwI6k= X-Received: by 2002:a5b:391:: with SMTP id k17-v6mr6958871ybp.69.1526839574465; Sun, 20 May 2018 11:06:14 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:c709:0:0:0:0:0 with HTTP; Sun, 20 May 2018 11:05:43 -0700 (PDT) In-Reply-To: <091FB496-1C89-4146-8EFB-8D43FD0F7C0F@csail.mit.edu> References: <091FB496-1C89-4146-8EFB-8D43FD0F7C0F@csail.mit.edu> From: Eitan Adler Date: Sun, 20 May 2018 11:05:43 -0700 Message-ID: Subject: Re: gmtime is not POSIX compliant due to leap seconds To: Garrett Wollman Cc: FreeBSD Standards Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 May 2018 18:06:15 -0000 On 20 May 2018 at 10:18, Garrett Wollman wrote: > On May 20, 2018 1:08:13 PM EDT, Eitan Adler wrote: >> This means that gmtime ought not to be affected by leap seconds. > > If you are getting leap-second adjustments, then you are using a nonstandard build of the data files with that feature enabled. Don't do that if POSIX behavior is what you want. Oof. I had WITH_ZONEINFO_LEAPSECONDS_SUPPORT set in src.conf for reasons I cannot remember. Thanks! -- Eitan Adler