Hi Samuel,

Samuel Thibault [2008-11-11 14:46 +0100]:
> Right but here the issue is on the input side: device_fd got to EOF,
> thus select() returning it and read() on it returning 0. The attached
> patch at least prevents select from returning, avoiding 100% CPU usage.

Thanks for your analysis and the patch! It looks correct to me, and I
applied it to the package bzr. I forwarded it to upstream
(http://www.cups.org/str.php?L3001) and will wait a day or two for
upstream's comment before uploading it.

Martin
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Attachment: signature.asc
Description: Digital signature

Reply via email to