Skip to content
Snippets Groups Projects
Commit 9d995a36 authored by Colin Walters's avatar Colin Walters
Browse files

fdio: Support taking ownership of tmpfile fd

While reading a strace I noticed a double close in the tests; this was because
we were missing an assignment to `-1` in the tests. However, let's make
supporting this clearer by explicitly supporting the fd being `-1` while still
setting the `initialized` variable to `FALSE`. We also add the `EBADF` assertion
checking.
parent 806bb46e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment