cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=fed9ca47f2454e33a3a430caeaa0da9cc7fe5533
commit fed9ca47f2454e33a3a430caeaa0da9cc7fe5533 Author: Cedric BAIL <[email protected]> Date: Tue Apr 18 16:54:44 2017 -0700 eet: use new API eina_file_close_on_exec. --- src/lib/eet/eet_lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/eet/eet_lib.c b/src/lib/eet/eet_lib.c index 9d491f6..e74e5e9 100644 --- a/src/lib/eet/eet_lib.c +++ b/src/lib/eet/eet_lib.c @@ -353,7 +353,7 @@ eet_flush2(Eet_File *ef) return EET_ERROR_NOT_WRITABLE; } - if (fcntl(fd, F_SETFD, FD_CLOEXEC)) ERR("can't set CLOEXEC on write fd"); + if (!eina_file_close_on_exec(fd, EINA_TRUE)) ERR("can't set CLOEXEC on write fd"); } else { --
