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 file_base::append for both create/open for windows stream_file. #1500

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Ramirisu
Copy link
Contributor

My previous PR didn't resolve the issue completely, so I create this to propose new fixes. The PR only affects stream_file for the windows platform.

Seek to the end of file when opening with flags:

  1. w/r + append (open existing file) -> OPEN_EXISTING
  2. w/r + create + append (open existing file or create if the file doesn't exist) -> OPEN_ALWAYS

Tested on Windows 10 22H2 19025.

…in the Windows implementation of file support.

Seek to the end of file when opening with flags:
1. append (open existing file) -> OPEN_EXISTING
2. create + append (open existing file or create if the file doesn't exist) -> OPEN_ALWAYS
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