The0x539
4c3e814a50
Address clippy lints
2024-03-09 13:49:25 +01:00
Mahmoud Al-Qudsi
99bd2e71d0
Unify how file mode is specified
...
The lines of code I commented on in #10254 were meant to serve only as examples
of the changes I was requesting, not the only instances.
Also just use `Mode::from_bits_truncate()` instead of unsafe or unwrapping since
we know the modes are correct.
2024-01-28 18:09:52 -06:00
PolyMeilex
341fd7ca16
Revert to octal mode repr in autoload and io
2024-01-27 20:42:13 +01:00
PolyMeilex
6ef8125c96
Return OwnedFd
from open_cloexec
2024-01-27 20:42:13 +01:00
PolyMeilex
2512849ece
Use nix OFlag for open_cloexec
2024-01-27 20:42:13 +01:00
PolyMeilex
6915aeb44c
Use nix mode for open_cloexec
2024-01-27 20:42:13 +01:00
PolyMeilex
23301e4895
Return Result from wopen_cloexec
2024-01-27 20:42:13 +01:00
Fabian Boehm
09cd7c7ad9
Remove widestring-suffix uses
...
This removes both the `#[widestrs]` annotation as well as all `"foo"L`
suffixes, and does a `cargo fmt` run on the result
2024-01-13 08:52:54 +01:00
Johannes Altmanninger
3ae20bdba0
Move fish-rust to project root
2024-01-13 03:58:33 +01:00