flum, On Wed, 2016-02-17 at 12:05 -0500, Michael McConville wrote: > Now that we have 64-bit time. Otherwise, all the people running Alpha in > 2038 will yell at us.
> Index: sys/arch/alpha/alpha/clock.c
> ===================================================================
> RCS file: /cvs/src/sys/arch/alpha/alpha/clock.c,v
> retrieving revision 1.21
> diff -u -p -r1.21 clock.c
> --- sys/arch/alpha/alpha/clock.c 23 Mar 2012 15:51:25 -0000 1.21
> +++ sys/arch/alpha/alpha/clock.c 17 Feb 2016 16:59:22 -0000
> @@ -212,9 +212,8 @@ inittodr(time_t base)
> [...]
> + if (year < MINYEAR || ct.mon < 1 || ct.mon > 12 || ct.day < 1 ||
> ct.day > 31 || ct.hour > 23 || ct.min > 59 || ct.sec > 59) {
> [...]
I'm not sure if this applies here as well. In some places sec == 60 is
used for leap seconds.
Thank you for your work.
--
Philipp.
(Rah of PH2)
signature.asc
Description: This is a digitally signed message part
