kopia lustrzana https://gitlab.com/sane-project/backends
Fix standalone polling loop
Not explicitely checking for POLLIN leads to breakage. Unbreak saned.merge-requests/1/head
rodzic
c23157c62a
commit
ec295e359a
|
@ -1,3 +1,6 @@
|
||||||
|
2009-12-24 Julien Blache <jb@jblache.org>
|
||||||
|
* frontend/saned.c: fix a bug in the standalone polling code.
|
||||||
|
|
||||||
2009-12-05 Stéphane Voltz <stef.dev at free.fr>
|
2009-12-05 Stéphane Voltz <stef.dev at free.fr>
|
||||||
* backend/genesys.c backend/genesys_gl841.c backend/genesys_low.h:
|
* backend/genesys.c backend/genesys_gl841.c backend/genesys_low.h:
|
||||||
fixed amount of bytes left to read at document end for gl841 based
|
fixed amount of bytes left to read at document end for gl841 based
|
||||||
|
|
|
@ -3120,6 +3120,8 @@ run_standalone (int argc, char **argv)
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
else if (! (fdp->revents & POLLIN))
|
||||||
|
continue;
|
||||||
|
|
||||||
fd = accept (fdp->fd, 0, 0);
|
fd = accept (fdp->fd, 0, 0);
|
||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
|
|
Ładowanie…
Reference in New Issue