From d13793954d310a5491d4efc9f7b2a4b1fe1c9c69 Mon Sep 17 00:00:00 2001 From: phanes Date: Thu, 8 Feb 2024 15:12:59 -0500 Subject: [PATCH] possible fix for buffering issue --- src/lcpex/vpty/libclpex_tty.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lcpex/vpty/libclpex_tty.cpp b/src/lcpex/vpty/libclpex_tty.cpp index 065012e..26bdcec 100644 --- a/src/lcpex/vpty/libclpex_tty.cpp +++ b/src/lcpex/vpty/libclpex_tty.cpp @@ -266,7 +266,7 @@ int exec_pty( } } if (watched_fds[this_fd].revents & POLLERR) { - close(watched_fds[this_fd].fd); + //close(watched_fds[this_fd].fd); break_out = true; //continue; }