about summary refs log tree commit diff
path: root/src/libstd/sys/unix/net.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-02-04 13:22:51 -0800
committerAlex Crichton <alex@alexcrichton.com>2016-02-05 16:58:10 -0800
commit0fff73b64a9658c9a3aa228488964d09e63115b4 (patch)
treeb56882a79aac5bc50479fb330ae228dcd7f5e77f /src/libstd/sys/unix/net.rs
parent64d7eca0e5a80a961c022eed3581f0ab3f00adfc (diff)
downloadrust-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