termpty: better comment

master
Boris Faure 3 weeks ago
parent 123c5b0859
commit 092f542d76
Signed by: borisfaure
GPG Key ID: EAA9CD729F522998
  1. 8
      src/bin/termpty.c

@ -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;
}
return ECORE_CALLBACK_CANCEL;
if (ecore_main_fd_handler_active_get(fd_handler, ECORE_FD_READ))
{

Loading…
Cancel
Save