Date: Sun, 20 May 2018 11:05:43 -0700 From: Eitan Adler <lists@eitanadler.com> To: Garrett Wollman <wollman@csail.mit.edu> Cc: FreeBSD Standards <freebsd-standards@freebsd.org> Subject: Re: gmtime is not POSIX compliant due to leap seconds Message-ID: <CAF6rxgkFEPcHMbUQLRUoDu_wnJOTm%2BbJuTjHH6fupXvF6Mt37g@mail.gmail.com> In-Reply-To: <091FB496-1C89-4146-8EFB-8D43FD0F7C0F@csail.mit.edu> References: <CAF6rxgk5LKy8%2BXFc2yUY-ROmW=XZ500EStf-B9qi5qdGZ=Eh8g@mail.gmail.com> <091FB496-1C89-4146-8EFB-8D43FD0F7C0F@csail.mit.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On 20 May 2018 at 10:18, Garrett Wollman <wollman@csail.mit.edu> wrote: > On May 20, 2018 1:08:13 PM EDT, Eitan Adler <lists@eitanadler.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxgkFEPcHMbUQLRUoDu_wnJOTm%2BbJuTjHH6fupXvF6Mt37g>