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:44:57 +0000 (16:44 -0500)
commit985f39d951bbb98cf173f8dc7acc7a4d48f93aeb
tree610c23435e6902946f871df64bd556e89e75bcc0
parent16d7431c3a78605ea598dbd3f081a2b1a8463f23
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.02528 seconds and 4 git commands to generate.