Fix abuse of `fdopendir`
After `fdopendir`, the fd is no longer usable. Should dup and
make use of RAII
Co-authored-by:
残页 <31466456+canyie@users.noreply.github.com>
Showing
Please
register
or
sign in
to comment
After `fdopendir`, the fd is no longer usable. Should dup and
make use of RAII
Co-authored-by:
残页 <31466456+canyie@users.noreply.github.com>