raster pushed a commit to branch master.

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

commit 4fd102c866b92e94340dde50fae2bae3e3f3c644
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Wed Aug 27 16:37:45 2014 +0900

    evas - async events fd - check fcntl return
    
    fix CID 1039683
---
 src/lib/evas/canvas/evas_async_events.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/evas/canvas/evas_async_events.c 
b/src/lib/evas/canvas/evas_async_events.c
index 0990ec8..d111eba 100644
--- a/src/lib/evas/canvas/evas_async_events.c
+++ b/src/lib/evas/canvas/evas_async_events.c
@@ -96,7 +96,7 @@ evas_async_events_init(void)
    _fd_write = filedes[1];
 
 #ifdef HAVE_FCNTL
-   fcntl(_fd_read, F_SETFL, O_NONBLOCK);
+   if (fcntl(_fd_read, F_SETFL, O_NONBLOCK) < 0) ERR("Can't set NONBLOCK on 
async fd");
 #endif
 
    eina_spinlock_new(&async_lock);

-- 


Reply via email to