|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] Have xen dom0 still handle time of 1970
On 17/1/07 17:36, "Rik van Riel" <riel@xxxxxxxxxx> wrote:
>> Oh, I see. But it kind of feels silly to work around a synthetic correctness
>> test. If we make wc_sec implicitly signed (which is pretty gross) then we
>> lose 1 bit of magnitude which also isn't great -- I'd rather be able to
>> represent years 2038 through 2106 than 1902 through 1970.
>
> Isn't unsigned long 64 bits on 64 bit systems anyway?
>
> That would give us a lot more time...
Yeah it is, but wc_sec in shared_info is uint32_t. Perhaps I wasn't
optimistic enough about Xen's longevity. :-) With tricks we could be good
out to about 2250 without needing to increase wc_sec's size.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|