Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introducing wc_time_t to override time_t #7170

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

danielinux
Copy link
Member

[Work in progress] πŸ§‘β€πŸ­

Description

On some systems time_t is a 32bit signed int, triggering the y2038 issue.

It's possible now to override time_t explicitly using a signed 64bit field, by defining TIME_T_OVERRIDE

Fixes y2038 bug in systems with a broken time_t

Testing

Just via make check for now, with the option on.

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

On some systems time_t is a 32bit signed int, triggering the y2038
issue.

It's possible now to override time_t explicitly using a signed 64bit
field, by defining TIME_T_OVERRIDE
@danielinux danielinux self-assigned this Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant