-
Notifications
You must be signed in to change notification settings - Fork 13.3k
std::io::UnstableFileStat doesn't report the correct number of blocks for files on Linux #10871
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
Comments
Can you confirm that using the raw |
@alexcrichton sorry I'm not very familiar with Rust's codebase. How do I confirm this? |
Oh I'm just curious what |
@alexcrichton Yeah C reports the same thing. There is nothing wrong with Rust; I made a mistake :) |
Thanks for looking into this! |
Rustup r? `@ghost` changelog: none
Platform: 64-bit Ubuntu 13.10
Symptom: the
blocks
field of UnstableFileStat of any file is always 8, regardless of the actual file size.The text was updated successfully, but these errors were encountered: