We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Version 1.36.0
Platform Any
Description tokio::fs::File::from_std() assumes the file being passed in's position is zero even if the StdFile has a different seek position.
tokio::fs::File::from_std()
StdFile
This can cause AsyncSeek<File>::poll_complete() to return the wrong file position which causes wrong behavior when using .seek().
AsyncSeek<File>::poll_complete()
.seek()
See: https://docs.rs/tokio/latest/src/tokio/fs/file.rs.html#242
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Version
1.36.0
Platform
Any
Description
tokio::fs::File::from_std()
assumes the file being passed in's position is zero even if theStdFile
has a different seek position.This can cause
AsyncSeek<File>::poll_complete()
to return the wrong file position which causes wrong behavior when using.seek()
.See:
https://docs.rs/tokio/latest/src/tokio/fs/file.rs.html#242
The text was updated successfully, but these errors were encountered: