]> git.lizzy.rs Git - rust.git/commit
std: Fix usage of SOCK_CLOEXEC
authorAlex Crichton <alex@alexcrichton.com>
Thu, 21 Jul 2016 00:26:12 +0000 (17:26 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 21 Jul 2016 00:26:12 +0000 (17:26 -0700)
commit15cd5a18a656252e32e7320fde3072be7b59db18
treeb909ca22bb18547653d9931cd663e0988b1a88ce
parent8052f73d7b53d55781e49fc36e109312293a31d5
std: Fix usage of SOCK_CLOEXEC

This code path was intended to only get executed on Linux, but unfortunately the
`cfg!` was malformed so it actually never got executed.
src/libstd/sys/unix/net.rs