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:27:11 +0000 (16:27 -0500)
commit06359dbe96f39ddc7e09b9e16290f954dc5be4b3
tree85eb393612f82994d1e902ef3ec398fe2f0c1f3a
parent857b6f4ffcb5dd4a6a2d331738776378dbc9af66
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.025663 seconds and 4 git commands to generate.