diff options
author | michux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2008-11-22 23:34:20 +0000 |
---|---|---|
committer | michux <michux@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2008-11-22 23:34:20 +0000 |
commit | 98870dbee74445b3d7de7468fccdb3ef4d6d2ff2 (patch) | |
tree | 7aa84f0ac769b6bc60c5ab0cabdd22e04d1a17c9 | |
parent | 3654ca81e0aa3116c24d849336560cc96ff73f11 (diff) | |
download | lcd4linux-98870dbee74445b3d7de7468fccdb3ef4d6d2ff2.tar.gz |
update fifo plugin - untested
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@900 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rw-r--r-- | plugin_fifo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin_fifo.c b/plugin_fifo.c index 714066d..f8be4c8 100644 --- a/plugin_fifo.c +++ b/plugin_fifo.c @@ -164,7 +164,7 @@ static void fiforead(RESULT * result) bytes = read(fd.input, buf, FIFO_BUFFER_SIZE); } - if (bytes < 0 || errno > 0) { + if (bytes < 0 || (errno > 0 && errno != EAGAIN)) { error("[FIFO] Error %i: %s", errno, strerror(errno)); } else { if (strlen(buf) > 0) { |