[pbs-devel] [PATCH proxmox v2] sys: file: use renameat2() from `nix` crate

Thomas Lamprecht t.lamprecht at proxmox.com
Thu Jul 18 14:03:54 CEST 2024


Am 18/07/2024 um 13:19 schrieb Christian Ebner:
> Partially my fault, as I overlooked in my suggestion that linkat() does not accept `AtFlags` in version 0.26.1 just yet [0].
> The suggested replacement type is however already there, but the module namespace is incorrect in the patch. Should have been [1].
> 
> [0] https://docs.rs/nix/0.26.1/nix/unistd/fn.linkat.html
> [1] https://docs.rs/nix/0.26.1/nix/fcntl/struct.AtFlags.html
> 

The type is there, but isn't accepted by `nix::unistd::linkat`, nor is there
a variant of that method that would accept it in this version FWICS.




More information about the pbs-devel mailing list