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

Fix "os error 22" when saving on Unix-like OSes #48

Merged
merged 1 commit into from
Oct 12, 2023

Conversation

white-axe
Copy link
Collaborator

The Rust documentation says you need to enable the write flag to use create or truncate when writing to files, so using the create flag without also using the write flag is probably undefined behaviour.

It seems there are still more problems preventing saving from working, but I assume this is in the scope of #45 so I will make no further changes.

The Rust documentation says you need to enable the write flag to use
create or truncate when writing to files, so using the create flag
without also using the write flag is probably undefined behaviour.

It seems there are still more problems preventing saving from working,
but I assume this is in the scope of Astrabit-ST#45 so I will
make no further changes.
@white-axe white-axe marked this pull request as ready for review October 12, 2023 01:05
@melody-rs melody-rs merged commit 1bbbcc2 into Astrabit-ST:dev Oct 12, 2023
4 checks passed
@white-axe white-axe deleted the error22 branch October 12, 2023 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants