Skip to content

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

Merged
dhdaines merged 7 commits intomasterfrom
fix_windows_junk
Nov 9, 2022
Merged

Work around Windows damage, run CI on lesser platforms#31
dhdaines merged 7 commits intomasterfrom
fix_windows_junk

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