From: Siraaj Khandkar Date: Sun, 22 Mar 2020 01:25:38 +0000 (-0400) Subject: Retry upon EINTR X-Git-Url: https://git.xandkar.net/?a=commitdiff_plain;h=8ce5d971312e8bb27817e359e9712b3edfe011b5;p=khatus.git Retry upon EINTR --- diff --git a/x5/khatus.c b/x5/khatus.c index 9c84a7b..4c8a665 100644 --- a/x5/khatus.c +++ b/x5/khatus.c @@ -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: