[tz] localtime.c bugs

Ian Abbott abbotti at mev.co.uk
Wed Jul 11 09:30:27 UTC 2012


On 2012/07/10 10:16 PM, Paul Eggert wrote:
> On 07/10/2012 12:23 PM, Arthur David Olson wrote:
>> Are there any present-day systems with unsigned 64-bit time_t's?
> 
> Nothing major that I know of.  However, NewOS
> does it that way and might be considered to be present-day.
> See:
> 
> http://git.newos.org/?p=newos.git;a=blob;f=include/time.h

That supposedly has time_t values representing microseconds since Jan 1,
1 AD (using the Gregorian rules extrapolated back to 1 AD), although the
time calculations in its libc look a little buggy, see
_getLastDayOfYear() in:

http://git.newos.org/?p=newos.git;a=blob;f=lib/libc/time/time.c

-- 
-=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti at mev.co.uk>             )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587              )=-


More information about the tz mailing list