mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 19:19:32 +03:00
e0093fea58
torvalds/linux@1dce27c5aa introduced __clear_close_on_exec() as a replacement for FD_CLR. Further commits appear to have removed FD_CLR from the Linux source tree. This causes the following failure: error: implicit declaration of function '__FD_CLR' [-Werror=implicit-function-declaration] To correct this we update the code to use the current __clear_close_on_exec() interface for readability. Then we introduce an autotools check to determine if __clear_close_on_exec() is available. If it isn't then we define some compatibility logic which used the older FD_CLR() interface. Signed-off-by: Richard Yao <ryao@gentoo.org> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #124 |
||
---|---|---|
.. | ||
bitops_compat.h | ||
compiler_compat.h | ||
file_compat.h | ||
kallsyms_compat.h | ||
list_compat.h | ||
Makefile.in | ||
math64_compat.h | ||
mm_compat.h | ||
module_compat.h | ||
mutex_compat.h | ||
proc_compat.h | ||
rwsem_compat.h | ||
smp_compat.h | ||
sysctl_compat.h | ||
time_compat.h | ||
uaccess_compat.h | ||
workqueue_compat.h | ||
zlib_compat.h |