diff options
author | Cedric BAIL <cedric@osg.samsung.com> | 2017-04-18 16:54:44 -0700 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2017-04-18 16:54:44 -0700 |
commit | fed9ca47f2454e33a3a430caeaa0da9cc7fe5533 (patch) | |
tree | 2be08be48de3a4f8db2b75467d8643a933747ffa /src/lib/eet | |
parent | b2893dfc77fc6bcf5c3a16d3dab30cafc3740d15 (diff) | |
download | efl-fed9ca47f2454e33a3a430caeaa0da9cc7fe5533.tar.gz |
eet: use new API eina_file_close_on_exec.
Diffstat (limited to 'src/lib/eet')
-rw-r--r-- | src/lib/eet/eet_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eet/eet_lib.c b/src/lib/eet/eet_lib.c index 9d491f6c2c..e74e5e9a2e 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 { |