3 ms·
Are they doing anything to fix it or just raising awareness? Here's an example of measuring packages that report warnings for software that has suspicious conv
by mkj 1y ago
Are they doing anything to fix it or just raising awareness?
Here's an example of measuring packages that report warnings for software that has suspicious conversions. Compile with `-Wconversion` with both 32-bit and 64-bit time_t, and see what the difference is.
https://github.com/mkj/yocto-y2038 https://github.com/mkj/yocto-y2038
That is using yocto, but you could probably do something similar with other less-embedded distros too, if you can rebuild the world.
FWIW I didn't find much interesting with that apart from busybox dhcpd.
- rvba 1y agoIt looks mostly like a project for self promotion of the two authors. Maybe they offer some consulting services. Funniest is that one of them wrote that they have "learned about it after Y2K bug". I thought one learns about this overflow in a "introduction to programming" class...
- Sardtok 1y agoIt also says nothing about a formal education, just that he has worked in IT since his teens. I didn't hear of the 2038 problem myself until the whole Y2K debacle, but then, I was in my teens at the time.
- zokier 1y agobtw yocto has been using 64 bit time_t since last year: https://docs.yoctoproject.org/dev/migration-guides/migration-4.3.html#compiling-changes https://docs.yoctoproject.org/dev/migration-guides/migration...