raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=b0adec349f085fe6b537ce69cd1b14d1f1277cc2

commit b0adec349f085fe6b537ce69cd1b14d1f1277cc2
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Wed Aug 27 16:35:48 2014 +0900

    eet - handle fcntl error
    
    fix CID 1039691
---
 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 6135b35..69d8bca 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;

-- 


Reply via email to