eggheads / eggdrop

The Eggdrop IRC Bot
GNU General Public License v2.0
506 stars 84 forks source link

Year 2038 Problem #573

Open ghost opened 6 years ago

ghost commented 6 years ago

We're WAY ahead of it, but as suggested by @michaelortmann in https://github.com/eggheads/eggdrop/commit/3e1731fab38a3facd9b87fb92bb9fbfb77b1c7a3 , this is something to think about.

You have 19 years-and-change to consider: maybe certain issues (mainly timers) can be shifted to unsigned ints or longs, or other sanitizations so that December 2037 isn't spent in a coding panic.

michaelortmann commented 5 years ago

Eggdrop as an application will have to wait for kernel/system/libc/POSIX to fix this. POSIX 2017 doesn't fix this yet. See: https://pubs.opengroup.org/onlinepubs/9699919799/functions/time.html.