Re: [PATCH] time.2: wfix regarding year-2038

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

 



* Viet Than <thanhoangviet@xxxxxxxxx>, 2021-07-24, 11:52:
The old description led me to believe 2038-01-19 03:14:08 UTC==2**31

This is correct.

therefore would still be valid,

No, 2**31 is the first value that doesn't fit 32-bit time_t.

is a signed 32-bit integer and the clock ticks past the time 2**31
-(2038-01-19 03:14:08 UTC, ignoring leap seconds).

I suppose this should say "...the clock reaches the time 2**31",
and then we can keep the parenthetical as is.

--
Jakub Wilk



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux 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