diff options
author | Rick Reed <[email protected]> | 2012-12-13 10:13:53 -0800 |
---|---|---|
committer | Anthony Ramine <[email protected]> | 2014-03-09 12:32:56 +0100 |
commit | a2820c8db97c05d4fc11e04048c123e1da24da88 (patch) | |
tree | 8cc442f3da32818e3f0cee926576b3500d8248f8 /erts/configure.in | |
parent | 870737ab657433c5e8751255fe3c4d298202d142 (diff) | |
download | otp-a2820c8db97c05d4fc11e04048c123e1da24da88.tar.gz otp-a2820c8db97c05d4fc11e04048c123e1da24da88.tar.bz2 otp-a2820c8db97c05d4fc11e04048c123e1da24da88.zip |
Use closefrom(2) when available in child_setup
Diffstat (limited to 'erts/configure.in')
-rw-r--r-- | erts/configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/configure.in b/erts/configure.in index 074882532f..6d5eca8966 100644 --- a/erts/configure.in +++ b/erts/configure.in @@ -1151,7 +1151,7 @@ fi AC_SUBST(ERTS_BUILD_SMP_EMU) -AC_CHECK_FUNCS([posix_fadvise]) +AC_CHECK_FUNCS([posix_fadvise closefrom]) AC_CHECK_HEADERS([linux/falloc.h]) dnl * Old glibcs have broken fallocate64(). Make sure not to use it. AC_CACHE_CHECK([whether fallocate() works],i_cv_fallocate_works,[ |