about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorTobias Bucher <tobiasbucher5991@gmail.com>2015-08-24 13:57:11 +0200
committerTobias Bucher <tobiasbucher5991@gmail.com>2015-08-30 10:24:05 +0200
commit1f81ef4d0f2547cacc316b01ad03603ad772e38e (patch)
treee7495a22e3340d8930b5e4be7f95620b9a9b6a51 /src/libstd/sys/unix/stack_overflow.rs
parent4bb90232daab451cf58359e0c5874bc905d2f101 (diff)
downloadrust-1f81ef4d0f2547cacc316b01ad03603ad772e38e.tar.gz
rust-1f81ef4d0f2547cacc316b01ad03603ad772e38e.zip
Atomically set CLOEXEC on duplicated sockets
For Bitrig, NetBSD and OpenBSD the constant was incorrectly in posix01, when
it's actually posix08, so we move it. This is a [breaking-change], but we
already had one in #27930.

Fix NetBSD's F_DUPFD_CLOEXEC constant.

For a similar feature detection, see this musl thread:
http://comments.gmane.org/gmane.linux.lib.musl.general/2963

This assumes that an int literal has type `c_int` for varidic functions.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions