News for hackers. Stuff that matters.
Re:The perils of transition to 64-bit time_t by _kst_ on Sunday September 29, 2024 @02:55AM (#41685411)
Code that assumes time_t is the same width as int is already broken, and won't work on typical 64-bit systems were int is 32 bits and time_t is 64 bits.

In any case, I'm not sure I've ever seen any such code.

Re:The perils of transition to 64-bit time_t by Netch on Monday October 07, 2024 @09:31AM (#41765826)
> Code that assumes time_t is the same width as int is already broken

You missed the point. It is meant that code _built for the same target_ "assumes" all instances use the same definition of time_t, and not about such a guarantee across different targets. That's why Gentoo solution to redefine target is cumbersome but finally working - as radical as axe.