Skip to content

refactor: I/O safety for sys/stat.rs #2439

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

Merged
merged 2 commits into from
Jun 9, 2024

Conversation

SteveLauC
Copy link
Member

What does this PR do

Add I/O safety to module sys/stat.

Checklist:

  • I have read CONTRIBUTING.md
  • I have written necessary tests and rustdoc comments
  • A change log has been added if this PR modifies nix's API

@SteveLauC SteveLauC marked this pull request as ready for review June 9, 2024 10:26
@SteveLauC SteveLauC added this pull request to the merge queue Jun 9, 2024
@SteveLauC SteveLauC mentioned this pull request Jun 9, 2024
29 tasks
Merged via the queue into nix-rust:master with commit 8a1e9df Jun 9, 2024
36 checks passed
@SteveLauC SteveLauC deleted the refactor/io_safety_stat branch June 9, 2024 10:47
@thomaseizinger
Copy link

What is the intended migration for when I am currently calling fstatat with None? I am providing an absolute path as the argument and according to https://linux.die.net/man/2/fstatat, that means the first argument will be ignored. What should I be passing here now that I can no longer pass None?

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.

2 participants