forked from enlightenment/efl
parent
dab0558843
commit
4c25e710a7
|
@ -378,7 +378,7 @@ ecore_pipe_full_add(Ecore_Pipe_Cb handler,
|
|||
if (!write_survive_fork)
|
||||
_ecore_fd_close_on_exec(fd_write);
|
||||
|
||||
fcntl(p->fd_read, F_SETFL, O_NONBLOCK);
|
||||
if (fcntl(p->fd_read, F_SETFL, O_NONBLOCK) < 0) ERR("can't set pipe to NONBLOCK");
|
||||
p->fd_handler = ecore_main_fd_handler_add(p->fd_read,
|
||||
ECORE_FD_READ,
|
||||
_ecore_pipe_read,
|
||||
|
|
Loading…
Reference in New Issue