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 offset in append mode #4685

Merged
merged 2 commits into from
May 14, 2024
Merged

Fix offset in append mode #4685

merged 2 commits into from
May 14, 2024

Conversation

maminrayej
Copy link
Contributor

This PR prevents a seek from changing the offset on a file when opened in append mode since the file offset must always point to the end of the file.

Resolves #4469 and #4681.

@maminrayej maminrayej enabled auto-merge May 14, 2024 12:35
@maminrayej maminrayej merged commit 28c0186 into main May 14, 2024
61 checks passed
@maminrayej maminrayej deleted the fix-offset-in-append-mode branch May 14, 2024 13:09
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.

(WASI) Wrong file offset after file write in append mode
2 participants