Re: git: 0ecf0b26a750 - main - timerfd_create: fix after cf742faa39a58a9b43b671c66097e6880459d4ae

From: Alexander Leidinger <Alexander_at_Leidinger.net>
Date: Thu, 07 Mar 2024 07:12:16 UTC
Am 2024-03-06 18:29, schrieb Baptiste Daroussin:
> The branch main has been updated by bapt:
> 
> URL: 
> https://cgit.FreeBSD.org/src/commit/?id=0ecf0b26a750582b804e238e6446db55188d7fdc
> 
> commit 0ecf0b26a750582b804e238e6446db55188d7fdc
> Author:     Baptiste Daroussin <bapt@FreeBSD.org>
> AuthorDate: 2024-03-06 17:28:02 +0000
> Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
> CommitDate: 2024-03-06 17:28:02 +0000
> 
>     timerfd_create: fix after cf742faa39a58a9b43b671c66097e6880459d4ae
> 
>     Remove the include that crept in by accident
>     Clang complains about CLOCK_BOOTTIME being the same for now as
>     CLOCK_UPTIME, so remove CLOCK_BOOTTIME and leave a comment for
>     what to do when CLOCK_BOOTTIME will be different for real.

What about a compile time assert CLOCK_BOOTTIME == CLOCK_UPTIME, to make 
sure that someone knows to look at this piece if they want to make it 
different for other reasons?

Bye,
Alexander.

-- 
http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF