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

writing beyond the end of a file does not work #1618

Closed
stingray-11 opened this issue Feb 21, 2021 · 2 comments
Closed

writing beyond the end of a file does not work #1618

stingray-11 opened this issue Feb 21, 2021 · 2 comments

Comments

@stingray-11
Copy link
Contributor

stingray-11 commented Feb 21, 2021

When using the stream wrapper to write bytes to a file... trying to write beyond the end of a file does not work. I can work around this with a check for the file size and truncate() call, but this probably should work. It works for local storage, even if the starting offset is also beyond the end of the file.

@stingray-11 stingray-11 changed the title writing to an offset beyond the end of a file does not work writing beyond the end of a file does not work Feb 21, 2021
@terrafrost
Copy link
Member

d20e842 should fix this.

Thanks!

@stingray-11
Copy link
Contributor Author

I can confirm this now works correctly on master. Thanks!

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

No branches or pull requests

2 participants