Package: rust-close-fds / 0.3.2-1

Metadata

Package Version Patches format
rust-close-fds 0.3.2-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
fix test io safety trip ups.patch | (download)

tests/test_close_fds.rs | 13 6 + 7 - 0 !
1 file changed, 6 insertions(+), 7 deletions(-)

 fix io safety trip up during tests
 When the files opened for the tests are opened in rust_tests and their
 FDs are dropped, the IO safety checks will notice their FDs have been
 closed by the test invocation and panic at runtime. Prevent this by
 opening raw fds directly.