summaryrefslogtreecommitdiffstats
path: root/src/tools/bootstrap
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2015-07-10 22:09:15 -0700
committerThiago Macieira <thiago.macieira@intel.com>2015-07-17 17:36:19 +0000
commit85ff35126623e6f26c84d9fa8a35b6762aefb110 (patch)
treec4ddd4482f4d0f435612d4471ee0af311396cf00 /src/tools/bootstrap
parent61e621def380f28183b6ce7047e9a88a49f81f82 (diff)
Revamp the CLOEXEC support in Qt
The pipe2/dup3/accept4 functions and SOCK_CLOEXEC are quite old nowadays on Linux. They were introduced on Linux 2.6.28 and glibc 2.10, all from 2008. They were also picked up by uClibc in 2011 and FreeBSD as of version 10.0. So we no longer need the runtime detection of whether the feature is available. Instead, if the libc has support for it, use it unconditionally and fail at runtime if the syscall isn't implemented. Change-Id: Ib056b47dde3341ef9a52ffff13efcc39ef8dff7d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/tools/bootstrap')
0 files changed, 0 insertions, 0 deletions