Re: settimeofday() portability in hwclock

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 11, 2020 at 02:19:58PM +0200, Karel Zak wrote:
>  please, review this patch. It seems we need to somehow hide libc
>  maintainers' creativity as settimeofday() have different behavior on
>  different libcs ;-) For example musl-C completely ignores TZ.
> 
>  I'd like to keep the current structure of our code (IMHO it's pretty
>  readable now), so I have  introduced  __set_time() and __set_timezone()
>  to hide the portability issues.

Applied.

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux