Subject: Re: HEADS UP! New generic TODR support committed
To: None <garrett_damore@tadpole.com>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: tech-kern
Date: 09/04/2006 02:51:30
garrett_damore@tadpole.com wrote:

> How about this:
 :
>         basedate.dt_year = 2006;
>         basedate.dt_mon = 1;
>         basedate.dt_day = 1;
>         basedate.dt_hour = 12;
>         basedate.dt_min = 0;
>         basedate.dt_sec = 0;
>         base = clock_ymdhms_to_secs(&basedate);
> 
> That should be more readable.  (Note I set this to 12pm Jan 1, 2006.)

Wow, looks great.

> One could argue that we could automatically set this to some date
> derived from the build date -- maybe the build time - 1 month or somesuch.

Maybe updating year is enough (like sys/conf/copyright on Jan. 1st)
because it's rare case (both RTC and filesystem are broken).
---
Izumi Tsutsui