Fix: implement time.h wrapper for FD_ISSET
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 12 Jan 2015 21:27:11 +0000 (16:27 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 12 Jan 2015 21:43:50 +0000 (16:43 -0500)
commitad0f251f77f7eb5162b187a91f6ce3dee2280fef
treef516a220014de63c27ef1346a6a7ba401f358a6b
parent2a5c234d1afcc98b07a349e919284ae8148d672d
Fix: implement time.h wrapper for FD_ISSET

Kernels v3.4.0 to v3.4.7 still define FD_ISSET, but __FD_ISSET has been
removed. Therefore, we cannot use the FD_ISSET define to find out of we
need to use the new close_on_exec(). Implement a wrapper based on kernel
version detection instead.

Fixes #872

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-statedump-impl.c
wrapper/time.h [new file with mode: 0644]
This page took 0.025063 seconds and 4 git commands to generate.