Hi,

> Right away dillo exits and the console message shows this:
> 
> ** ERROR **: Control_read_cb Resource temporarily unavailable

Hmm, I don't think I'm catching all possible errors from that socket. 
Maybe this patch can help:

---8<---
diff --git a/src/IO/control.c b/src/IO/control.c
index 6f677e52..c6cd15bf 100644
--- a/src/IO/control.c
+++ b/src/IO/control.c
@@ -110,7 +110,7 @@ static void Control_read_cb(int fd, void *data)
       r = read(new_fd, buf, 1);
       _MSG("read = %zd\n", r);
       if (r < 0) {
-         if (errno == EINTR) {
+         if (errno == EINTR || errno == EAGAIN || errno == EWOULDBLOCK) {
             continue;
          } else {
             MSG_ERR("Control_read_cb %s\n", dStrerror(errno));
---8<---
 
Let me know if that makes it work.

Best,
Rodrigo.
_______________________________________________
Dillo-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to