[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Happy 1234567890 everyone!
- Subject: Happy 1234567890 everyone!
- From: jgreco at ns.sol.net (Joe Greco)
- Date: Fri, 13 Feb 2009 20:23:42 -0600 (CST)
- In-reply-to: <[email protected]> from "Chris Adams" at Feb 13, 2009 07:33:56 PM
> Once upon a time, Nathan Malynn <neito at nerdramblingz.com> said:
> > Question about 2k38: Aren't most Unixoid systems using 64-bit clocks now?
>
> Unix/POSIX systems use "time_t" to store the base time counter, which is
> seconds since the epoch (1970-01-01 00:00:00 UTC). Most platforms still
> use a 32 bit time_t for compatibility.
>
> However, it does appear that at some point, 64 bit Linux systems
> switched to a 64 bit time_t, so I can only assume others are switching
> as well. Hopefully, the 32 bit systems (at least that have to count
> seconds) will be mostly gone in another 29 years.
FreeBSD used a 64-bit time_t for the AMD64 port pretty much right away.
On the flip side, it used a 32-bit time_t for the Alpha port. I guess
someone predicted "it wouldn't be a problem."
Nowhere near as annoying a problem as the variability of the size of
size_t.
... JG
--
Joe Greco - sol.net Network Services - Milwaukee, WI - http://www.sol.net
"We call it the 'one bite at the apple' rule. Give me one chance [and] then I
won't contact you again." - Direct Marketing Ass'n position on e-mail spam(CNN)
With 24 million small businesses in the US alone, that's way too many apples.