Re: [chrony-dev] [PATCH] sys_timex: add workaround for broken ntp_adjtime() on macOS |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-dev] [PATCH] sys_timex: add workaround for broken ntp_adjtime() on macOS
- From: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
- Date: Mon, 31 Aug 2020 10:27:42 +0200
- Authentication-results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=mlichvar@xxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1598862467; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=CSn+LTvquu1EJYP/u2CzGS2IqfvCdYDHT+cSKwCug3A=; b=bgx5ml1j0WfZsrEPH9OWe7pr3wWBzDDwyIKMIBWYfkVBw0Msxwza8RWegAJroQAKk1f5Mo NnN0PHvWWRyicu8E6Vulh16ZVr9a/94be5hYbE2Z42tLGCpILSuWBYiWbP0MdfpZgAKx2z XmGGoK91HryjDICLPkMDOGWctBD2SrE=
On Mon, Aug 31, 2020 at 07:56:45PM +1200, Bryan Christianson wrote:
> On macOS 11.0 (Big Sur) beta, ntp_adjtime() incorrectly returns timex.freq as an unsigned number. This patch is a workaround for the bug and should be removed when Apple fix the problem (assuming they will).
Applied. Thanks.
Hopefully Apple will fix this soon. It's interesting they had a
signed/unsigned bug in both adjtime() and ntp_adjtime().
--
Miroslav Lichvar
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.