247
submitted 9 months ago by ylai@lemmy.ml to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] ipkpjersi@lemmy.ml 1 points 9 months ago

I mean, Ghost Recon Wildlands which came out in 2017 for example has save dates written as a 32-bit date so it's prone to the 2038 bug, I set the date to 2040 and tested a bunch of software and while you can save the date overflows and shows as 1969. I bet there are still people using 32-bit dates even if unintentionally.

[-] r00ty@kbin.life 3 points 9 months ago

I mean, technically you could use unsigned 32bit if you don't need to handle dates before 1970. But yes, the best course of action now is to use 64bits. The cost is pretty much nothing on modern systems.

I'm just cautious of people judging software from a time with different constraints and expectations, with the current yardstick.

I also wonder what the problem will be. People playing ghost recon in 2038 are going to be "retro" gaming it. There should be an expectation of such problems. Would it prevent you loading or saving the file is the question?

[-] ipkpjersi@lemmy.ml 1 points 9 months ago

Nope, saving and loading works on that game (and pretty much every other game I tested), it's just you lose the date display in-game so you don't know when you really last saved.

[-] r00ty@kbin.life 3 points 9 months ago

Yeah, that's my point. It'll be a retro game by 2038 and anyone playing it will know it's "one of those quirks"

The bigger problem is software where the date really matters.

this post was submitted on 12 Jan 2024
247 points (97.3% liked)

Linux

47984 readers
1992 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS