Looking at
http://cvs.opensolaris.org/source/xref/on/usr/src/uts/common/io/hardclk.c,
I noticed that we have a hard limit on RTCs for 2038.

It seems to me that we could fix this for 64-bit systems by checking for
sizeof (time_t), if sizeof (time_t) > sizeof (int32_t), then this code
could properly deal with an RTC that has a date beyond 2038. :-)

Just a thought.

-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191

_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to