Merge branch 'terminology-1.6'
This commit is contained in:
commit
1eb9b4cb80
|
@ -268,7 +268,7 @@ _fd_read_do(Termpty *ty, Ecore_Fd_Handler *fd_handler, Eina_Bool false_on_empty)
|
||||||
}
|
}
|
||||||
errno = 0;
|
errno = 0;
|
||||||
len = read(ty->fd, rbuf, len);
|
len = read(ty->fd, rbuf, len);
|
||||||
if ((len < 0 && errno != EAGAIN) ||
|
if ((len < 0 && !(errno == EAGAIN || errno == EINTR)) ||
|
||||||
(len == 0 && errno != 0))
|
(len == 0 && errno != 0))
|
||||||
{
|
{
|
||||||
/* Do not print error if the child has exited */
|
/* Do not print error if the child has exited */
|
||||||
|
|
Loading…
Reference in New Issue