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

64 bit time_t #223

Merged
merged 2 commits into from
Apr 11, 2024
Merged

64 bit time_t #223

merged 2 commits into from
Apr 11, 2024

Conversation

ellert
Copy link
Member

@ellert ellert commented Mar 8, 2024

Debian recently migrated to using a 64 bit time_t on most of their 32 bit architectures.
This leads to issues where a time_t variable is used in printf or sscanf.
This PR addresses those issues (and a few cases with size_t vs. long that I found when checking logs on 32 bit).

@ellert
Copy link
Member Author

ellert commented Mar 27, 2024

This took a few iterations to find all corner cases, but I think it is complete now. At least there are no more compiler warnings related to the change, and the tests succeed on all debian architectures for all packages.

@ellert ellert requested review from msalle and fscheiner March 27, 2024 09:15
Copy link
Member

@msalle msalle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than my two comments I think it looks all fine to me.

gass/transfer/source/library/globus_gass_transfer_http.c Outdated Show resolved Hide resolved
gass/transfer/source/library/globus_gass_transfer_http.c Outdated Show resolved Hide resolved
@gridcf gridcf deleted a comment from johnny-mnemonic Apr 10, 2024
Copy link
Member

@msalle msalle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree with the new version, all looks fine to me

@fscheiner fscheiner merged commit 7c6118c into gridcf:master Apr 11, 2024
11 checks passed
@ellert ellert deleted the format-issues branch April 11, 2024 14:11
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.

3 participants