diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2016-02-04 13:22:51 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2016-02-05 16:58:10 -0800 |
| commit | 0fff73b64a9658c9a3aa228488964d09e63115b4 (patch) | |
| tree | b56882a79aac5bc50479fb330ae228dcd7f5e77f /src/libstd/sys/unix/net.rs | |
| parent | 64d7eca0e5a80a961c022eed3581f0ab3f00adfc (diff) | |
| download | rust-0fff73b64a9658c9a3aa228488964d09e63115b4.tar.gz rust-0fff73b64a9658c9a3aa228488964d09e63115b4.zip | |
std: When duplicating fds, skip extra set_cloexec
Similar to the previous commit, if `F_DUPFD_CLOEXEC` succeeds then there's no need for us to then call `set_cloexec` on platforms other than Linux. The bug mentioned of kernels not actually setting the `CLOEXEC` flag has only been repored on Linux, not elsewhere.
Diffstat (limited to 'src/libstd/sys/unix/net.rs')
0 files changed, 0 insertions, 0 deletions
