This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository terminology.

View the commit online.

commit 092f542d769d8a367a226e015e1c3e84cde88281
Author: Boris Faure <[email protected]>
AuthorDate: Sun Mar 12 17:09:16 2023 +0100

    termpty: better comment
---
 src/bin/termpty.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/src/bin/termpty.c b/src/bin/termpty.c
index c90431a..d1e0028 100644
--- a/src/bin/termpty.c
+++ b/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))
      {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to