Re: [chrony-dev] [PATCH 1/1] reference: support leap-seconds.list leap second source

2023-11-29 Thread Patrick Oppenlander
Hi Miroslav, On Wed, Nov 29, 2023 at 9:05 PM Miroslav Lichvar wrote: > > On Wed, Nov 29, 2023 at 11:15:59AM +1100, patrick.oppenlan...@gmail.com wrote: > > This patch adds support for getting leap second information from the > > leap-seconds.list file included with tzdata and adds a new

Re: [chrony-dev] [PATCH 1/1] reference: support leap-seconds.list leap second source

2023-11-29 Thread Miroslav Lichvar
On Wed, Nov 29, 2023 at 11:15:59AM +1100, patrick.oppenlan...@gmail.com wrote: > This patch adds support for getting leap second information from the > leap-seconds.list file included with tzdata and adds a new configuration > directive leapsecdb to switch on the feature. Good idea. I have some

[chrony-dev] [PATCH 1/1] reference: support leap-seconds.list leap second source

2023-11-28 Thread patrick . oppenlander
From: Patrick Oppenlander The existing implementation of getting leap second information from a timezone in get_tz_leap() relies on non-portable C library behaviour. This leads to "Timezone right/UTC failed leap second check, ignoring" errors on musl based systems as musl does not support