News for hackers. Stuff that matters.
Re:The future of 32-bit Linux by rurban on Saturday December 05, 2020 @06:12AM (#25313621)
Not at all. Simply interpret time_t as unsigned, recompile and it works until 2106. There's no need for unix timestamps before 1970 anymore. There are also other replacement tricks, as in perl5.
Re:The future of 32-bit Linux by bregma on Saturday December 05, 2020 @08:24AM (#25314360)
You'll find a large chunk of software breaks because it incorrectly uses time_t as a generic arithmetic type. Taking the diff of two unsigned integers and checking if the result is less than zero will end up making you weep.