rust-lang / rust

Empowering everyone to build reliable and efficient software.
https://www.rust-lang.org
Other
98.86k stars 12.77k forks source link

library: update comment around close() #133330

Closed RalfJung closed 3 days ago

RalfJung commented 3 days ago

r? @the8472

the8472 commented 3 days ago

Yay, progress. Though I think linux may not be compliant with the new spec since it now has specific language for the meaning of EBADF, but that's not relevant to the EINTR issue.

@bors r+ rollup

bors commented 3 days ago

:pushpin: Commit 729d3aa0fe504c3843f9441ee01128454d8c389a has been approved by the8472

It is now in the queue for this repository.

ChrisDenton commented 3 days ago

I would only note that we expose OwnedFd on non-POSIX platforms too.