Re: [chrony-dev] [PATCH] macOS - weak linkage of clock_gettime |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-dev] [PATCH] macOS - weak linkage of clock_gettime
- From: Bryan Christianson <bryan@xxxxxxxxxxxxx>
- Date: Mon, 16 Mar 2020 23:11:58 +1300
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smtpcorp.com; s=a1-4; h=Feedback-ID:X-Smtpcorp-Track:Message-Id:To:Date: Subject:From:Reply-To:Sender:List-Unsubscribe; bh=iZJcgGBDX8xdZZaypOl0RgVUMENPtvLa/9WeMGFM3qc=; b=a5+NMp9z+bAQ+1cjA74KeiqYx0 aGJv5ZCib4jhngpAXEfE+QKFzpFfRqli4PkOfOPW6ebPaLTfCtYXa+jsnT+QwBVNZ64yHv0PfZ5cQ WBemyItYeNuX1R2JWx3CoF2PEIQNPYts65Iu5TsO/2BK/Sju1apF571nrbkwz3dipYRCWY4qu7yZZ tyh9gbLUoz89+fiaK0Qu/s7J+pd8pKVQLCC3XgYZiCLDaBaD1RkX3eEwNSIXvmmnuEF1kng0Ug2IO JjHrI2eknbIfFDyI86dwn8j9u4FFxRDB+XF8ZlxZ0Uovy6QbhpCevXzu2WudGLHXYVwzloNSeZAA+ u8jS17IA==;
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whatroute.net; i=@whatroute.net; q=dns/txt; s=s149811; t=1584353536; h=from : subject : to : message-id : date; bh=iZJcgGBDX8xdZZaypOl0RgVUMENPtvLa/9WeMGFM3qc=; b=BKy0ZLki7bO1z0pJvEY5dXVwNKcDXXIBDeuiZn4jbmSMqNT4GZzWz7rZoSIV5HNVf9rID7 GYQniUhnEL9pjHwHDLWOyUpNaaEJWSINAE4e+lVVHp+tyx6YOgn4FKN/LyvjKYAwippxawUs D7KoczaHy7p8S5lY7RkRcZBOptYDfJZvg+ZRowivunE1z+TSpbh6KKjGgpjwBIrbvdTI7uvY h2Z7rSNuPajoEWfv7eLVYJSAEaTw1Yu/wTo2HQYxcstz6e2mu1HsYugF9lG510yRnRdY/eJW px6+zPRIEcl9RnH+LGuJeZ8oqTqymk/b5eYvmTNd8PBv6leHtdb3CN4A==
- Feedback-id: 149811m:149811acx33YQ:149811sqjjZQJGVM
> On 16/03/2020, at 11:10 PM, Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
>
> On Fri, Mar 13, 2020 at 08:33:00AM +1300, Bryan Christianson wrote:
>> Earlier versions of macOS do not provide clock_gettime(). This patch checks for clock_gettime() at run-time and falls back to gettimeofday() if the symbol is not present.
>
> The patch looks good to me. I think I'll change the commit subject to
> "don't require clock_gettime()" to make it more obvious what's going
> on.
Thanks Miroslav
Bryan Christianson
bryan@xxxxxxxxxxxxx
--
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.