Merge branch 'terminology-1.6'

This commit is contained in:
Boris Faure 2019-12-02 23:45:49 +01:00
commit 1eb9b4cb80
Signed by: borisfaure
GPG Key ID: EAA9CD729F522998
1 changed files with 1 additions and 1 deletions

View File

@ -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 */