On Sat, Feb 11, 2023 at 07:51:27AM -0800, Richard Cochran wrote: > On Wed, Feb 01, 2023 at 04:52:15PM +0100, Miroslav Lichvar wrote: > > > > + if (next) { > > > + atop.jumpSeconds = next->local_tai_offset - > > > tz->local_tai_offset; > > > + atop.timeOfNextJump.seconds_lsb = next->timestamp; > > > + } > > > > Is this intentionally not setting the _msb field, ignoring distant future? > > Yes, it is intentional. The LSB is 32 bits of seconds, so the range is > > (/ (/ (/ 4294967295 3600) 24) 365) = 136 years > > It is hard for me to understand why a time zone should change more > that one year in the future from a given date?
Isn't timeOfNextJump an absolute time, i.e. will it not overflow 136 years after the epoch? -- Miroslav Lichvar _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel