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

Work around Windows damage, run CI on lesser platforms #31

Merged
merged 7 commits into from
Nov 9, 2022

Conversation

dhdaines
Copy link
Contributor

@dhdaines dhdaines commented Nov 9, 2022

I guess it's C Programming 101, but I had not realized that the size of a text file on Windows is not the same as the return value from fread() in text mode. There's no reason to open JSON in text mode anyway since we don't care about line endings.

Also run Python tests (the ones that matter) on Windows and MacOS to ensure this doesn't happen again.

@dhdaines dhdaines merged commit b25c75d into master Nov 9, 2022
@dhdaines dhdaines deleted the fix_windows_junk branch November 22, 2022 16:37
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.

1 participant