Adding new printer hangs forever

Michael Sweet mike at easysw.com
Sat Jan 5 16:01:13 PST 2008


bill green wrote:
> ...
> but read does return EAGAIN and the program loops forever.  length is supposed to be 80 bytes, but it's not there at the read() call.  I
> think there should be an else clause to reset nbytes from -1 to 0 so that you don't lose one from tbytes every time read() returns EAGAIN,
> but I have no idea why there wouldn't be anything to read from stdin.
> Does anyone have suggestions?

I seem to remember hearing about problems with Firefox on OpenBSD.
What browser are you using?

Regardless, can you file a bug for the read loop issue - it definitely
needs a change to reset nbytes on error...

     http://www.cups.org/str.php

Thanks!

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com




More information about the cups mailing list