aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/eet
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-27 16:35:48 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-27 16:35:48 +0900
commitb0adec349f085fe6b537ce69cd1b14d1f1277cc2 (patch)
tree636f489a3d18c8abc45a608ef21909b8b6599f10 /src/lib/eet
parentecore-x - handle prop get fail for xdnd type set (diff)
downloadefl-b0adec349f085fe6b537ce69cd1b14d1f1277cc2.tar.gz
eet - handle fcntl error
fix CID 1039691
Diffstat (limited to 'src/lib/eet')
-rw-r--r--src/lib/eet/eet_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/eet/eet_lib.c b/src/lib/eet/eet_lib.c
index 6135b3541b..69d8bca670 100644
--- a/src/lib/eet/eet_lib.c
+++ b/src/lib/eet/eet_lib.c
@@ -363,7 +363,7 @@ eet_flush2(Eet_File *ef)
if (!fp)
return EET_ERROR_NOT_WRITABLE;
- fcntl(fd, F_SETFD, FD_CLOEXEC);
+ if (fcntl(fd, F_SETFD, FD_CLOEXEC)) ERR("can't set CLOEXEC on write fd");
}
else
return EET_ERROR_NOT_WRITABLE;