forked from enlightenment/terminology
exe fd handling - make bsd handling same on linux ... as it must
now i've seen this on linux... so no more ifdef @fix
This commit is contained in:
parent
53a484bc48
commit
0420b20ef6
|
@ -384,15 +384,13 @@ _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 */
|
||||
#if defined(__FreeBSD__) || defined(__DragonFly__) || defined(__OpenBSD__) || defined(__NetBSD__)
|
||||
// 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
|
||||
if (ty->pid == -1)
|
||||
{
|
||||
ty->hand_fd = NULL;
|
||||
return ECORE_CALLBACK_CANCEL;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (ecore_main_fd_handler_active_get(fd_handler, ECORE_FD_READ))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue