mirror of
https://github.com/netfun2000/lcd4linux.git
synced 2026-02-27 09:44:34 +08:00
update fifo plugin - untested
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@900 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user