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

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

 



Hi,

The old description led me to believe 2038-01-19 03:14:08 UTC==2**31
therefore would still be valid, and that undefined behavior would
begin from 2038-01-19 03:14:09 UTC.
Searched up to be sure.
Modified wording to be more precise.

Signed-off-by: Viet Than <thanhoangviet@xxxxxxxxx>

---
 man2/time.2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man2/time.2 b/man2/time.2
index 059222dcd..f15dfa325 100644
--- a/man2/time.2
+++ b/man2/time.2
@@ -94,7 +94,7 @@ specified as NULL cannot fail with the error
 even on ABIs where
 .I 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).
+(occurs when past 2038-01-19 03:14:07 UTC, ignoring leap seconds).
 (POSIX.1 permits, but does not require, the
 .B EOVERFLOW
 error in the case where the seconds since the Epoch will not fit in
--
2.25.1



[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