Early beta releases of macOS Big Sur had a signed/unsigned error in Apple's implementation of ntp_adjtime. Apple have since fixed this error and the workaround is no longer required. --- sys_timex.c | 7 ------- 1 file changed, 7 deletions(-)
diff --git a/sys_timex.c b/sys_timex.c index 9a8504e..0ee6c8e 100644 --- a/sys_timex.c +++ b/sys_timex.c @@ -75,13 +75,6 @@ convert_timex_frequency(const struct timex *txc) freq_ppm = txc->freq / FREQ_SCALE; -#ifdef MACOSX - /* Temporary workaround for Apple bug treating freq as unsigned number */ - if (freq_ppm > 32767) { - freq_ppm -= 65536; - } -#endif - return -freq_ppm; } -- 2.24.3 (Apple Git-128) -- To unsubscribe email chrony-dev-requ...@chrony.tuxfamily.org with "unsubscribe" in the subject. For help email chrony-dev-requ...@chrony.tuxfamily.org with "help" in the subject. Trouble? Email listmas...@chrony.tuxfamily.org.