aboutsummaryrefslogtreecommitdiff
path: root/cddl/lib/libdtrace/regs_x86.d
diff options
context:
space:
mode:
authorJosef 'Jeff' Sipek <jeffpc@josefsipek.net>2024-04-29 13:40:31 +0000
committerToomas Soome <tsoome@FreeBSD.org>2024-05-01 04:56:41 +0000
commit0fe60dc65572f4d04992c97c0e262af5c50e7408 (patch)
tree6a78737c075daca69a866709b75ad4bfcb69d161 /cddl/lib/libdtrace/regs_x86.d
parent9d1396c34611a2ed1e93c3cfb04db7a6148458bd (diff)
downloadsrc-main.tar.gz
src-main.zip
fattime: fix fattime to timespec conversion of dates beyond 2106-02-06HEADmain
It turns out that the only conversion issue was in fattime2timespec, where multiplying the number of seconds in a day by the number of days overflowed 32-bit unsigned int for dates beyond 2106-02-07 06:28:15. Casting one of the multiplicands as time_t forces a 64-bit multiplication on systems where time_t is 64-bits and produces no binary changes on the one remaining system with 32-bit time_t (namely i386). Since the code is now tested & fixed, this change removes the fixme comments. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D44755
Diffstat (limited to 'cddl/lib/libdtrace/regs_x86.d')
0 files changed, 0 insertions, 0 deletions