termpty: better comment

This commit is contained in:
Boris Faure 2023-03-12 17:09:16 +01:00
parent 123c5b0859
commit 092f542d76
Signed by: borisfaure
GPG Key ID: EAA9CD729F522998
1 changed files with 3 additions and 5 deletions

View File

@ -387,12 +387,10 @@ _fd_do(Termpty *ty, Ecore_Fd_Handler *fd_handler, Eina_Bool false_on_empty)
return ECORE_CALLBACK_CANCEL;
}
// it seems the BSDs can not read from this side of the pair if the other side
// is closed ... but no longer just bsd's - i have seen this now on linux
// it seems one can not read from this side of the pair if the other side
// is closed
if (ty->pid == -1)
{
return ECORE_CALLBACK_CANCEL;
}
if (ecore_main_fd_handler_active_get(fd_handler, ECORE_FD_READ))
{