Retry upon EINTR
authorSiraaj Khandkar <siraaj@khandkar.net>
Sun, 22 Mar 2020 01:25:38 +0000 (21:25 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Sun, 22 Mar 2020 01:25:38 +0000 (21:25 -0400)
x5/khatus.c

index 9c84a7b..4c8a665 100644 (file)
@@ -341,6 +341,7 @@ fifo_read_one(Fifo *f, char *buf)
                        error("Failed to read: \"%s\". errno: %d, msg: %s\n",
                            f->name, errno, strerror(errno));
                        switch (errno) {
+                       case EINTR:
                        case EAGAIN:
                                return RETRY;
                        default:
This page took 0.027126 seconds and 4 git commands to generate.