cvs commit: src/lib/libc/stdtime localtime.c

Wilko Bulte wb at freebie.xs4all.nl
Fri Jan 19 15:16:20 UTC 2007


On Fri, Jan 19, 2007 at 01:16:35AM +0000, Warner Losh wrote..
> imp         2007-01-19 01:16:35 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     lib/libc/stdtime     localtime.c 
>   Log:
>   On FreeBSD/arm, any value > 50 bits will result in a rediculously huge
>   number being returned for mktime and timegm calls.  Choose 48 because
>   that works well.  This does reduce the dynamic range of tm_year from
>   about 2 billion years down to "only" about 9 million years.  Please
>   contact me if this restriction poses a problem.

You mean, you want to be notified at least 0.5 million years in advance
of any pending problem? ;-)

-- 
Wilko Bulte				wilko at FreeBSD.org


More information about the cvs-src mailing list