<p dir="ltr"><br>
On Oct 3, 2015 7:03 AM, "Dirk Hohndel" <<a href="mailto:dirk@hohndel.org">dirk@hohndel.org</a>> wrote:<br>
><br>
> Which then means that the old code was actually correct and the fix and<br>
> the fix of the fix were actually wrong?</p>
<p dir="ltr">Well, the final add (to convert from 2000-based numbers to 1970-based ones) should still be done in timestamp_t. Otherwise you overflow in signed int in 2038 (the Unix 32-bit time_t overflow date)</p>
<p dir="ltr">So I think the only thing that needs to be fixed is to change the uint32_t to just a int32_t.</p>
<p dir="ltr">     Linus<br>
</p>